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
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.