Udostępnij za pośrednictwem


MqttConnectProperties.Password Property

Definition

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