Method ToString ToString() Returns the IPAddress and Port values separated by a colon. Declaration public override string ToString() Returns Type Description System.String A string containing IPAddress:Port. Overrides System.Object.ToString()