mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 19:58:57 +08:00
Added UserName property to various Server EventArgs. (#2123)
* Added UserName property to various Server EventArgs. * InjectedMqttApplicationMessage: Add SenderUserName property. * Reformat code * Reformat code --------- Co-authored-by: christian <6939810+chkr1011@users.noreply.github.com>
This commit is contained in:
@@ -53,6 +53,8 @@ public sealed class MqttSession : IDisposable
|
||||
|
||||
public string Id => _connectPacket.ClientId;
|
||||
|
||||
public string UserName => _connectPacket.Username;
|
||||
|
||||
public IDictionary Items { get; }
|
||||
|
||||
public MqttConnectPacket LatestConnectPacket { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user