X509Store::StoreHandle Property
.NET Framework (current version)
Gets an IntPtr handle to an HCERTSTORE store.
Assembly: System (in System.dll)
public: property IntPtr StoreHandle { [SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)] [SecurityPermissionAttribute(SecurityAction::InheritanceDemand, Flags = SecurityPermissionFlag::UnmanagedCode)] IntPtr get(); }
| Exception | Condition |
|---|---|
| CryptographicException | The store is not open. |
Use the StoreHandle property 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.
SecurityPermissionSecurityPermission
for unmanaged code. Security action: LinkDemand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
for unmanaged code. Security action: InheritanceDemand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
.NET Framework
Available since 2.0
Available since 2.0
Show: