ConnectionProfile.GetNetworkNames | getNetworkNames method

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

Syntax


var iVectorView = connectionProfile.getNetworkNames();

Parameters

This method has no parameters.

Return value

Type: IVectorView<String> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<String> [.NET]

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

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

Namespace

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

Metadata

Windows.winmd

See also

ConnectionProfile

 

 

Show:
© 2015 Microsoft