ServiceAuthenticationWithDeviceSharedAccessPolicyKey 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 a device's shared access key to authenticate with service.
public class ServiceAuthenticationWithDeviceSharedAccessPolicyKey : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithDeviceSharedAccessPolicyKey = class
interface IAuthenticationMethod
Public Class ServiceAuthenticationWithDeviceSharedAccessPolicyKey
Implements IAuthenticationMethod
- Inheritance
-
ServiceAuthenticationWithDeviceSharedAccessPolicyKey
- Implements
Constructors
ServiceAuthenticationWithDeviceSharedAccessPolicyKey(String, String) |
Initializes a new instance of the ServiceAuthenticationWithDeviceSharedAccessPolicyKey class. |
Properties
DeviceId |
Name of device |
Key |
Shared access key of the device |
Methods
Populate(IotHubConnectionStringBuilder) |
Populates the builder with values needed to authenticate with device's shared access key. |
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET