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
System_CAPS_pubpropertySystem_CAPS_static PersistIfDeviceAlreadyExists

Indicates that the credentials should be persisted to the disk if registration fails with DeviceAlreadyExists.

System_CAPS_pubpropertySystem_CAPS_static PersistToFile

Indicates whether the registered device credentials should be persisted to the database

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static DiscoverEnvironment(Uri)

Discovers the Windows Live environment based on the Token Issuer

System_CAPS_pubmethodSystem_CAPS_static LoadDeviceCredentials()

Loads the device's credentials from the file system

System_CAPS_pubmethodSystem_CAPS_static LoadDeviceCredentials(Uri)

Loads the device's credentials from the file system

System_CAPS_pubmethodSystem_CAPS_static LoadOrRegisterDevice()

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_static LoadOrRegisterDevice(String, String)

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_static LoadOrRegisterDevice(Uri)

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_static LoadOrRegisterDevice(Uri, String, String)

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_static RegisterDevice()

Registers the given device with Live ID with a random application ID

System_CAPS_pubmethodSystem_CAPS_static RegisterDevice(Guid)

Registers the given device with Live ID

System_CAPS_pubmethodSystem_CAPS_static RegisterDevice(Guid, String, String)

Registers the given device with Live ID

System_CAPS_pubmethodSystem_CAPS_static RegisterDevice(Guid, Uri)

Registers the given device with Live ID

System_CAPS_pubmethodSystem_CAPS_static RegisterDevice(Guid, Uri, String, String)

Registers the given device with Live ID

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static MaxDeviceNameLength

Internal Use only

System_CAPS_pubfieldSystem_CAPS_static 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