X509Chain::ChainContext Property

 

Gets a handle to an X.509 chain.

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

public:
property IntPtr ChainContext {
	[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
	[SecurityPermissionAttribute(SecurityAction::InheritanceDemand, 
		Flags = SecurityPermissionFlag::UnmanagedCode)]
	IntPtr get();
}

Property Value

Type: System::IntPtr

An IntPtr handle to an X.509 chain.

Use this property to return a handle that is compatible with the unmanaged Microsoft Cryptographic API (CAPI).

SecurityPermission

for the ability to execute unmanaged code. Security action: InheritanceDemand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode

SecurityPermission

for the ability to execute unmanaged code. Security action: LinkDemand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode

.NET Framework
Available since 2.0
Return to top
Show: