Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft