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
Visual Basic (Declaration) |
Public
ReadOnly
Property
ServerPort
As
Integer
|
C# |
public
int
ServerPort {
get; }
|
Visual C++ |
public:
property
int
ServerPort {
int
get ();
}
|
JavaScript |
function get_
serverPort();
|
Field Value
The port value
See Also