AuthenticationInfo.SecurityToken

The SecurityToken property contains a Win32 handle for the security token of the message sender as an IntPtr.

Syntax

  Copy imageCopy Code
public IntPtr SecurityToken {get;}

Syntax

  Copy imageCopy Code
Public ReadOnly Property SecurityToken As IntPtr

Remarks

This property returns a raw Win32 handle to the security token of the message sender. The handle is duplicated every time this property is retrieved, so the caller is responsible for closing the handle, or passing it to a class constructor such as WindowsIdentity that takes on this responsibility.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also