OpenDOF Project
DOFSecurityMode DOFConnectionState_GetSecurityMode ( const DOFConnectionState  self)

Return the active DOFSecurityMode of the Connection.

This is only valid while the Connection is connected. The Security Mode in effect may be different from that specified by the Connection configuration due to protocol negotiation at the time the Connection is established.

Lifecycle
The data returned is owned by the DOFConnectionState and is only valid as long as the DOFConnectionState remains valid. It must not be destroyed individually.
Parameters
selfThe Connection State. This must not be NULL.
Returns
The currently active Security Mode of the Connection.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22