DeviceIdManager.LoadDeviceCredentials Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.