ServerPort Property

Gets the port used to connect to the server.

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
An int containing the port value.

Remarks

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

Reference

SipEndpoint Class

SipEndpoint Members

Microsoft.Rtc.Signaling Namespace