Table of Contents

Class MqttConnectPacket

Namespace
MQTTnet.Packets
Assembly
MQTTnet.dll
public sealed class MqttConnectPacket : MqttPacket
Inheritance
MqttConnectPacket
Inherited Members
Extension Methods

Constructors

MqttConnectPacket()

public MqttConnectPacket()

Properties

AuthenticationData

public byte[] AuthenticationData { get; set; }

Property Value

byte[]

AuthenticationMethod

public string AuthenticationMethod { get; set; }

Property Value

string

CleanSession

Also called "Clean Start" in MQTTv5.

public bool CleanSession { get; set; }

Property Value

bool

ClientId

public string ClientId { get; set; }

Property Value

string

KeepAlivePeriod

public ushort KeepAlivePeriod { get; set; }

Property Value

ushort

MaximumPacketSize

public uint MaximumPacketSize { get; set; }

Property Value

uint

Password

public byte[] Password { get; set; }

Property Value

byte[]

ReceiveMaximum

public ushort ReceiveMaximum { get; set; }

Property Value

ushort

RequestProblemInformation

public bool RequestProblemInformation { get; set; }

Property Value

bool

RequestResponseInformation

public bool RequestResponseInformation { get; set; }

Property Value

bool

SessionExpiryInterval

public uint SessionExpiryInterval { get; set; }

Property Value

uint

TopicAliasMaximum

public ushort TopicAliasMaximum { get; set; }

Property Value

ushort

TryPrivate

public bool TryPrivate { get; set; }

Property Value

bool

UserProperties

public List<MqttUserProperty> UserProperties { get; set; }

Property Value

List<MqttUserProperty>

Username

public string Username { get; set; }

Property Value

string

WillContentType

public string WillContentType { get; set; }

Property Value

string

WillCorrelationData

public byte[] WillCorrelationData { get; set; }

Property Value

byte[]

WillDelayInterval

public uint WillDelayInterval { get; set; }

Property Value

uint

WillFlag

public bool WillFlag { get; set; }

Property Value

bool

WillMessage

public byte[] WillMessage { get; set; }

Property Value

byte[]

WillMessageExpiryInterval

public uint WillMessageExpiryInterval { get; set; }

Property Value

uint

WillPayloadFormatIndicator

public MqttPayloadFormatIndicator WillPayloadFormatIndicator { get; set; }

Property Value

MqttPayloadFormatIndicator

WillQoS

public MqttQualityOfServiceLevel WillQoS { get; set; }

Property Value

MqttQualityOfServiceLevel

WillResponseTopic

public string WillResponseTopic { get; set; }

Property Value

string

WillRetain

public bool WillRetain { get; set; }

Property Value

bool

WillTopic

public string WillTopic { get; set; }

Property Value

string

WillUserProperties

public List<MqttUserProperty> WillUserProperties { get; set; }

Property Value

List<MqttUserProperty>

Methods

ToString()

public override string ToString()

Returns

string