SecIdentity.GetTypeID Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Type identifier for the Security.SecIdentity type.
public static IntPtr GetTypeID();
static member GetTypeID : unit -> nativeint
Returns
nativeint
Remarks
The returned token is the CoreFoundation type identifier (CFType) that has been assigned to this class.
This can be used to determine type identity between different CoreFoundation objects.
You can retrieve the type of a CoreFoundation object by invoking the GetTypeID(IntPtr) on the native handle of the object
bool isSecIdentity = (CFType.GetTypeID (foo.Handle) == SecIdentity.GetTypeID ());