DeviceIdManager Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Management utility for the Device Id
Namespace: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Tooling.Connector.DeviceIdManager
Syntax
public static class DeviceIdManager
Public NotInheritable Class DeviceIdManager
Properties
Name | Description | |
---|---|---|
PersistIfDeviceAlreadyExists | Indicates that the credentials should be persisted to the disk if registration fails with DeviceAlreadyExists. |
|
PersistToFile | Indicates whether the registered device credentials should be persisted to the database |
Methods
Name | Description | |
---|---|---|
DiscoverEnvironment(Uri) | Discovers the Windows Live environment based on the Token Issuer |
|
LoadDeviceCredentials() | Loads the device's credentials from the file system |
|
LoadDeviceCredentials(Uri) | Loads the device's credentials from the file system |
|
LoadOrRegisterDevice() | Loads the device credentials (if they exist). |
|
LoadOrRegisterDevice(String, String) | Loads the device credentials (if they exist). |
|
LoadOrRegisterDevice(Uri) | Loads the device credentials (if they exist). |
|
LoadOrRegisterDevice(Uri, String, String) | Loads the device credentials (if they exist). |
|
RegisterDevice() | Registers the given device with Live ID with a random application ID |
|
RegisterDevice(Guid) | Registers the given device with Live ID |
|
RegisterDevice(Guid, String, String) | Registers the given device with Live ID |
|
RegisterDevice(Guid, Uri) | Registers the given device with Live ID |
|
RegisterDevice(Guid, Uri, String, String) | Registers the given device with Live ID |
Fields
Name | Description | |
---|---|---|
MaxDeviceNameLength | Internal Use only |
|
MaxDevicePasswordLength | Internal Use only |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright