TRVCamReceiver.SessionKey, SessionKey2 (read-only)
|Top Previous Next|
Returns the identifier of the current session.
property SessionKey: TRVSessionKey;
property SessionKey2: TRVSessionKey;
Value of SessionKey is passed as a parameter to events of TRVCamReceiver. If you perform time consuming operations inside an event, it makes sense to compare values of this property and SessionKey parameter, to make sure that a connection was not closed or reopened.
Note: SessionKey returns a non-zero value for the whole period of connection, not only when all channels are open (and even in the mode when channels are not created).