点击或拖拽改变大小

MqttSessionForbidPublishTopic 属性

获取或设置当前的MQTT客户端是否允许发布消息,默认为False,如果设置为True,就是禁止发布消息,服务器不会触发收到消息的事件。
Gets or sets whether the current MQTT client is allowed to publish messages, the default is False, if set to True, it is forbidden to publish messages, The server does not trigger the event of receiving a message.

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

属性值

类型:Boolean
参见