Property SessionExpiryInterval
MQTT 5 Session Expiry Interval in seconds: how long the broker keeps the session after the connection closes.
0 (the default) ends the session with the connection.
public int SessionExpiryInterval { get; set; }
MQTT 5 Session Expiry Interval in seconds: how long the broker keeps the session after the connection closes.
0 (the default) ends the session with the connection.
public int SessionExpiryInterval { get; set; }