Udostępnij za pośrednictwem


NetworkAdapter.GetConnectedProfileAsync Method

Definition

Gets the connection profile currently associated with the network adapter.

public:
 virtual IAsyncOperation<ConnectionProfile ^> ^ GetConnectedProfileAsync() = GetConnectedProfileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ConnectionProfile> GetConnectedProfileAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ConnectionProfile> GetConnectedProfileAsync();
function getConnectedProfileAsync()
Public Function GetConnectedProfileAsync () As IAsyncOperation(Of ConnectionProfile)

Returns

The connection profile associated with this network adapter.

Attributes

Applies to