Share via


PeerInformation.ServiceName Property

Definition

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

public:
 property Platform::String ^ ServiceName { Platform::String ^ get(); };
winrt::hstring ServiceName();
public string ServiceName { get; }
var string = peerInformation.serviceName;
Public ReadOnly Property ServiceName As String

Property Value

String

Platform::String

winrt::hstring

The service name or TCP port number of the peer.

Windows requirements

App capabilities
proximity

Applies to