WithCredentials method

Connects to the broker with username and password.
Syntax
connOption
.
WithCredentials
(
UserName
As String,
Password
As String)
where
connOption
- is an MQTTConnectOption object created by the MQTTFactory object's method
CreateConnectOption
.
UserName
- is the username used to connect to the broker.
Password
- is the password used to connect to the broker.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal