Delen via


DeviceAuthenticationWithRegistrySymmetricKey Class

Definition

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

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

Constructors

DeviceAuthenticationWithRegistrySymmetricKey(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 device.

KeyAsBase64String

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

Methods

Populate(IotHubConnectionStringBuilder)

Populates an IotHubConnectionStringBuilder instance based on the properties of the current instance.

Applies to