你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceAuthenticationWithDeviceSharedAccessPolicyKey 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用设备的共享访问密钥向服务进行身份验证的身份验证方法。
public class ServiceAuthenticationWithDeviceSharedAccessPolicyKey : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithDeviceSharedAccessPolicyKey = class
interface IAuthenticationMethod
Public Class ServiceAuthenticationWithDeviceSharedAccessPolicyKey
Implements IAuthenticationMethod
- 继承
-
ServiceAuthenticationWithDeviceSharedAccessPolicyKey
- 实现
构造函数
ServiceAuthenticationWithDeviceSharedAccessPolicyKey(String, String) |
初始化 ServiceAuthenticationWithDeviceSharedAccessPolicyKey 类的新实例。 |
属性
DeviceId |
设备名称 |
Key |
设备的共享访问密钥 |
方法
Populate(IotHubConnectionStringBuilder) |
使用使用设备的共享访问密钥进行身份验证所需的值填充生成器。 |