ServerPort Property

Gets the port used to connect to the server.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)


Public ReadOnly Property ServerPort As Integer
Dim instance As SipEndpoint
Dim value As Integer

value = instance.ServerPort
public int ServerPort { get; }

Property Value

Type: System..::..Int32
An int containing the port value.


This is the port currently used to connect to the server or the port configured by the application if there is no active connection to the server. If the server is unknown, zero is returned.

See Also


SipEndpoint Class

SipEndpoint Members

Microsoft.Rtc.Signaling Namespace