DeviceIdManager Class

 

Updated: November 29, 2016

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)

System.Object
  Microsoft.Xrm.Tooling.Connector.DeviceIdManager

public static class DeviceIdManager

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticPersistIfDeviceAlreadyExists

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

System_CAPS_pubpropertySystem_CAPS_staticPersistToFile

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDiscoverEnvironment(Uri)

Discovers the Windows Live environment based on the Token Issuer

System_CAPS_pubmethodSystem_CAPS_staticLoadDeviceCredentials()

Loads the device's credentials from the file system

System_CAPS_pubmethodSystem_CAPS_staticLoadDeviceCredentials(Uri)

Loads the device's credentials from the file system

System_CAPS_pubmethodSystem_CAPS_staticLoadOrRegisterDevice()

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_staticLoadOrRegisterDevice(String, String)

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_staticLoadOrRegisterDevice(Uri)

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_staticLoadOrRegisterDevice(Uri, String, String)

Loads the device credentials (if they exist).

System_CAPS_pubmethodSystem_CAPS_staticRegisterDevice()

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

System_CAPS_pubmethodSystem_CAPS_staticRegisterDevice(Guid)

Registers the given device with Live ID

System_CAPS_pubmethodSystem_CAPS_staticRegisterDevice(Guid, String, String)

Registers the given device with Live ID

System_CAPS_pubmethodSystem_CAPS_staticRegisterDevice(Guid, Uri)

Registers the given device with Live ID

System_CAPS_pubmethodSystem_CAPS_staticRegisterDevice(Guid, Uri, String, String)

Registers the given device with Live ID

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticMaxDeviceNameLength

Internal Use only

System_CAPS_pubfieldSystem_CAPS_staticMaxDevicePasswordLength

Internal Use only

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: