SipEndpoint.ServerPort Property
Gets the port used to connect to the server. 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, then 0 is returned.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public ReadOnly Property ServerPort As Integer
Get
'Usage
Dim instance As SipEndpoint
Dim value As Integer
value = instance.ServerPort
public int ServerPort { get; }
Property Value
Type: System.Int32
The port value