Export (0) Print
Expand All

X509Store Constructor (IntPtr)

Initializes a new instance of the X509Store class using an Intptr handle to an HCERTSTORE store.

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

'Declaration
Public Sub New ( _
	storeHandle As IntPtr _
)

Parameters

storeHandle
Type: System.IntPtr

A handle to an HCERTSTORE store.

ExceptionCondition
ArgumentNullException

The storeHandle parameter is Nothing.

CryptographicException

The storeHandle parameter points to an invalid context.

Use this constructor to provide compatibility with the unmanaged Microsoft Cryptographic API (CAPI).

For more information about the HCERTSTORE handle, see the unmanaged CAPI documentation in the Platform SDK section of the MSDN Library.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft