Share via


SipEndpoint.ServerPort Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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
public int ServerPort { get; }

Property Value

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.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SipEndpoint Class
SipEndpoint Members
Microsoft.Rtc.Signaling Namespace