Share via


ConnectionProfile.GetNetworkNames Method

Definition

Retrieves names associated with the network with which the connection is currently established.

public:
 virtual IVectorView<Platform::String ^> ^ GetNetworkNames() = GetNetworkNames;
IVectorView<winrt::hstring> GetNetworkNames();
public IReadOnlyList<string> GetNetworkNames();
function getNetworkNames()
Public Function GetNetworkNames () As IReadOnlyList(Of String)

Returns

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

An array of string values representing friendly names used to identify the local endpoint.

Applies to