DeviceIdManager Class
Applies To: Dynamics CRM 2015
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 ref class DeviceIdManager abstract sealed
[<AbstractClass>]
[<Sealed>]
type DeviceIdManager = class end
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
© 2016 Microsoft. All rights reserved. Copyright