Gets or sets the OBEX session's Connection Identifier.
This value is set automatically if the server includes one in its response to Connect, and it shouldn't need to be set in normal circumstances. If a valid value has been set it will be added to any subsequent commands sent to the peer. get will throw NotSupportedException, if no value has been set, see TryGetConnectionId for an equivalent function but in the Try-Parse pattern. The value passed to set is also checked and if the invalid connection identifier (see InvalidConnectionId) is passed it will throw ArgumentException. To clear the value use ClearConnectionId.
ObexClientSession Class | Brecham.Obex Namespace | ClearConnectionId | TryGetConnectionId | InvalidConnectionId