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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för