DeviceAuthenticationWithRegistrySymmetricKey Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET