共用方式為


SecurityProviderSymmetricKey(String, String, String) Constructor

Definition

Initializes a new instance of the SecurityProviderSymmetricKey class.

public SecurityProviderSymmetricKey (string registrationId, string primaryKey, string secondaryKey);
new Microsoft.Azure.Devices.Shared.SecurityProviderSymmetricKey : string * string * string -> Microsoft.Azure.Devices.Shared.SecurityProviderSymmetricKey
Public Sub New (registrationId As String, primaryKey As String, secondaryKey As String)

Parameters

registrationId
String

The Provisioning service Registration Id for this device.

primaryKey
String

The primary key for this device.

secondaryKey
String

The secondary key for this device.

Applies to