Skip to main content
NetworkInformation.FindConnectionProfilesAsync | findConnectionProfilesAsync method

Applies to Windows and Windows Phone

Returns an array of ConnectionProfile objects that match the filtering criteria defined by ConnectionProfileFilter.

Syntax


Windows.Networking.Connectivity.NetworkInformation.findConnectionProfilesAsync(pProfileFilter).done( /* Your success and error handlers */ );

public static IAsyncOperation<IReadOnlyList> FindConnectionProfilesAsync(
  ConnectionProfileFilter pProfileFilter
)

Public Shared Function FindConnectionProfilesAsync(
  pProfileFilter As ConnectionProfileFilter 
) As IAsyncOperation(Of IReadOnlyList)

public:
static IAsyncOperation<IVectorView>^ FindConnectionProfilesAsync(
  ConnectionProfileFilter^ pProfileFilter
)

Parameters

pProfileFilter

Type: ConnectionProfileFilter

Provides the filtering criteria.

Return value

Type: IAsyncOperation<IVectorView>

An array of ConnectionProfile objects.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

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

NetworkInformation
ConnectionProfileFilter
ConnectionProfile