MqttConnectProperties.Password Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The password field in the MQTT CONNECT packet. Use string type instead of byte[] to avoid the problem of serialization. Although System.Text.Json serializes byte[] to base64 string by default, it is not explicitly documented.
[System.Runtime.Serialization.DataMember(Name="password")]
[System.Text.Json.Serialization.JsonPropertyName("password")]
public string? Password { get; }
[<System.Runtime.Serialization.DataMember(Name="password")>]
[<System.Text.Json.Serialization.JsonPropertyName("password")>]
member this.Password : string
Public ReadOnly Property Password As String
Property Value
- Attributes