Share via


DeviceIdManager.LoadOrRegisterDevice Method (String, String)

 

Applies To: Dynamics CRM 2015

Loads the device credentials (if they exist).

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public static ClientCredentials LoadOrRegisterDevice(
    string deviceName,
    string devicePassword
)
public:
static ClientCredentials^ LoadOrRegisterDevice(
    String^ deviceName,
    String^ devicePassword
)
static member LoadOrRegisterDevice : 
        deviceName:string *
        devicePassword:string -> ClientCredentials
Public Shared Function LoadOrRegisterDevice (
    deviceName As String,
    devicePassword As String
) As ClientCredentials

Parameters

  • deviceName
    Type: System.String

    Device name that should be registered

  • devicePassword
    Type: System.String

    Device password that should be registered

Return Value

Type: System.ServiceModel.Description.ClientCredentials

See Also

LoadOrRegisterDevice Overload
DeviceIdManager Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright