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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for