X509Store.StoreHandle Property

Definition

Gets an IntPtr handle to an HCERTSTORE store.

public:
 property IntPtr StoreHandle { IntPtr get(); };
public IntPtr StoreHandle { get; }
member this.StoreHandle : nativeint
Public ReadOnly Property StoreHandle As IntPtr

Property Value

A handle to an HCERTSTORE store.

Exceptions

The store is not open.

Remarks

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.

Security

SecurityPermission
for unmanaged code. Security action: InheritanceDemand. Associated enumeration: UnmanagedCode

Applies to