DeviceAuthenticationWithRegistrySymmetricKey Class

Definition

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

C#
public sealed class DeviceAuthenticationWithRegistrySymmetricKey : Microsoft.Azure.Devices.Client.IAuthenticationMethod
Inheritance
DeviceAuthenticationWithRegistrySymmetricKey
Implements

Constructors

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

Продукт Версії
Azure SDK for .NET Legacy, Latest