次の方法で共有


DeviceIdManager.LoadDeviceCredentials Method

Definition

Overloads

LoadDeviceCredentials()

Loads the device's credentials from the file system

LoadDeviceCredentials(Uri)

Loads the device's credentials from the file system

LoadDeviceCredentials()

Loads the device's credentials from the file system

public:
 static System::ServiceModel::Description::ClientCredentials ^ LoadDeviceCredentials();
public static System.ServiceModel.Description.ClientCredentials LoadDeviceCredentials ();
static member LoadDeviceCredentials : unit -> System.ServiceModel.Description.ClientCredentials
Public Shared Function LoadDeviceCredentials () As ClientCredentials

Returns

Device Credentials (if set) or null

Applies to

LoadDeviceCredentials(Uri)

Loads the device's credentials from the file system

public:
 static System::ServiceModel::Description::ClientCredentials ^ LoadDeviceCredentials(Uri ^ issuerUri);
public static System.ServiceModel.Description.ClientCredentials LoadDeviceCredentials (Uri issuerUri);
static member LoadDeviceCredentials : Uri -> System.ServiceModel.Description.ClientCredentials
Public Shared Function LoadDeviceCredentials (issuerUri As Uri) As ClientCredentials

Parameters

issuerUri
Uri

URL for the current token issuer

Returns

Device Credentials (if set) or null

Remarks

The issuerUri can be retrieved from the IServiceConfiguration interface's CurrentIssuer property.

Applies to