MqttConnectionOptionsCredentials 属性 |
登录服务器的凭证,包含用户名和密码,可以为空
The credentials for logging in to the server, including the username and password, can be null
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public MqttCredential Credentials { get; set; }
Public Property Credentials As MqttCredential
Get
Set
public:
property MqttCredential^ Credentials {
MqttCredential^ get ();
void set (MqttCredential^ value);
}
member Credentials : MqttCredential with get, set
属性值
类型:
MqttCredential参见