X509Store Constructor (IntPtr)
Initializes a new instance of the X509Store class using an Intptr handle to an HCERTSTORE store.
Assembly: System (in System.dll)
Parameters
- storeHandle
-
Type:
System::IntPtr
A handle to an HCERTSTORE store.
| Exception | Condition |
|---|---|
| ArgumentNullException | The storeHandle parameter is null. |
| 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.
for unmanaged code. Security action: LinkDemand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
for unmanaged code. Security action: InheritanceDemand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
Available since 2.0