ModuleAuthenticationWithRegistrySymmetricKey Class

Definition

Authentication method that uses the symmetric key associated with the module in the device registry.

public sealed class ModuleAuthenticationWithRegistrySymmetricKey : Microsoft.Azure.Devices.Client.IAuthenticationMethod
type ModuleAuthenticationWithRegistrySymmetricKey = class
    interface IAuthenticationMethod
Public NotInheritable Class ModuleAuthenticationWithRegistrySymmetricKey
Implements IAuthenticationMethod
Inheritance
ModuleAuthenticationWithRegistrySymmetricKey
Implements

Constructors

ModuleAuthenticationWithRegistrySymmetricKey(String, String, String)

Initializes a new instance of the DeviceAuthenticationWithRegistrySymmetricKey class.

Properties

DeviceId

Gets or sets the device identifier.

Key

Gets or sets the key associated with the module.

KeyAsBase64String

Gets or sets the Base64 formatted key associated with the module.

ModuleId

Gets or sets the module identifier.

Methods

Populate(IotHubConnectionStringBuilder)

Populates a supplied instance based on the properties of the current instance.

Applies to