WithFileCertificate method
Connects to the broker with a file certificate.
Syntax
connOption
.WithFileCertificate
(CAcert
As String, ClientCert
As String, Password
As String)where
connOption
- is an MQTTConnectOption object created by the MQTTFactory object's method CreateConnectOption
.CAcert
- is the full path of the CA certificate file.ClientCert
- is the full path of the client certificate file. Only client certificates with the
.pfx
extension are supported.Password
- is the password of the client certificate file.Provide Feedback