Class ClientConnectedEventArgs
public sealed class ClientConnectedEventArgs : EventArgs
- Inheritance
-
ClientConnectedEventArgs
- Inherited Members
Constructors
ClientConnectedEventArgs(MqttConnectPacket, MqttProtocolVersion, string, IDictionary)
public ClientConnectedEventArgs(MqttConnectPacket connectPacket, MqttProtocolVersion protocolVersion, string endpoint, IDictionary sessionItems)
Parameters
connectPacket
MqttConnectPacketprotocolVersion
MqttProtocolVersionendpoint
stringsessionItems
IDictionary
Properties
AuthenticationData
public byte[] AuthenticationData { get; }
Property Value
- byte[]
AuthenticationMethod
public string AuthenticationMethod { get; }
Property Value
ClientId
Gets the client identifier of the connected client. Hint: This identifier needs to be unique over all used clients / devices on the broker to avoid connection issues.
public string ClientId { get; }
Property Value
Endpoint
Gets the endpoint of the connected client.
public string Endpoint { get; }
Property Value
ProtocolVersion
Gets the protocol version which is used by the connected client.
public MqttProtocolVersion ProtocolVersion { get; }
Property Value
SessionItems
Gets or sets a key/value collection that can be used to share data within the scope of this session.
public IDictionary SessionItems { get; }
Property Value
UserName
Gets the user name of the connected client.
public string UserName { get; }
Property Value
UserProperties
Gets the user properties sent by the client.
public List<MqttUserProperty> UserProperties { get; }