Export (0) Print
Expand All

X509Store.X509Store(IntPtr) Constructor

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)

public X509Store (
	IntPtr storeHandle
)
public X509Store (
	IntPtr storeHandle
)
public function X509Store (
	storeHandle : IntPtr
)
Not applicable.

Parameters

storeHandle

An IntPtr handle to an HCERTSTORE store.

Exception typeCondition

ArgumentNullException

The storeHandle parameter is a null reference (Nothing in Visual Basic).

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft