Handle Property
Collapse the table of content
Expand the table of content

X509Certificate.Handle Property


Gets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  mscorlib (in mscorlib.dll)

public IntPtr Handle {
		Flags = SecurityPermissionFlag.UnmanagedCode)]

Property Value

Type: System.IntPtr

An 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

.NET Framework
Available since 2.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft