Condividi tramite


PeerInformation.ServiceName Proprietà

Definizione

Ottiene il nome del servizio o il numero di porta TCP del 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

Valore della proprietà

String

Platform::String

winrt::hstring

Nome del servizio o numero di porta TCP del peer.

Requisiti Windows

Funzionalità dell'app
proximity

Si applica a