点击或拖拽改变大小

MqttConnectionOptionsCredentials 属性

登录服务器的凭证,包含用户名和密码,可以为空
The credentials for logging in to the server, including the username and password, can be null

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public MqttCredential Credentials { get; set; }

属性值

类型:MqttCredential
参见