Gets a list of profiles for connections, active or otherwise, on the local machine.
public:
static IVectorView<ConnectionProfile>^ GetConnectionProfiles()
Type: IVectorView<ConnectionProfile>
An array of ConnectionProfile objects.
The following example demonstrates how to retrieve a ConnectionProfile. The function calls getConnectionProfiles to retrieve all available connections on a device and display using a list. Alternatively, your app can call getInternetConnectionProfile to retrieve the ConnectionProfile representing the connection currently used for Internet connectivity.
For additional examples of how NetworkInformation class methods are implemented to retrieve connection profiles, see Quickstart: Retrieving network connection information.
This API is not implemented and will throw an exception if called.
Namespace: Windows.Networking.Connectivity
Metadata: windows.winmd