Retrieves the port string of the local socket.
public:
property String^ LocalPort {
String^ get ();
}
Type: String
The port string of the local socket.
This value will be zero if the Xbox Secure Device Association Template allowed dynamically-assigned port numbers in its corresponding SecureDeviceSocketDescription. In this case, the title will have to determine the local port number through other means.
The local port number returned by this property is only valid on the calling device; to retrieve the local network identity for use by remote peers, create a local SecureDeviceAddress object and use its Buffer property to retrieve a serialized data block.
Namespace: Windows.Xbox.Networking
Metadata: windows.winmd