X509Certificate::Handle Property
Gets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure.
Assembly: mscorlib (in mscorlib.dll)
public: [ComVisibleAttribute(false)] property IntPtr Handle { [SecurityCriticalAttribute] [SecurityPermissionAttribute(SecurityAction::InheritanceDemand, Flags = SecurityPermissionFlag::UnmanagedCode)] IntPtr get(); }
Property Value
Type: System::IntPtrAn IntPtr structure that represents an unmanaged PCCERT_CONTEXT structure.
The handle is valid only for the lifetime of the X509Certificate object.
requires full trust for the immediate caller. This class cannot be used by partially trusted or transparent code.
for the ability to execute unmanaged code. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0