PeerInformation.ServiceName | serviceName property

Applies to Windows Phone only

Gets the service name or TCP port number of the peer.

Syntax


var serviceName = peerInformation.serviceName;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The service name or TCP port number of the peer.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.Proximity
Windows::Networking::Proximity [C++]

Metadata

Windows.winmd

See also

PeerInformation

 

 

Show:
© 2014 Microsoft