Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "CertAddEncodedCertificateToStore" in [All]

crypt32

.

[DllImport("CRYPT32.DLL", EntryPoint = "CertAddEncodedCertificateToStore", CharSet = CharSet.Auto, SetLastError = true)]

.

public static extern bool CertAddEncodedCertificateToStore(IntPtr certStore, int certEncodingType, byte[] certEncoded, int certEncodedLength, int addDisposition, IntPtr certContext);

.

Declare Function CertAddEncodedCertificateToStore Lib "crypt32.dll" (TODO) As TODO

.

        if(CertAddEncodedCertificateToStore(store, X509_ASN_ENCODING, cert, cert.Length, CERT_STORE_ADD_REPLACE_EXISTING, IntPtr.Zero)) {

.
Documentation
[CertAddEncodedCertificateToStore] on MSDN

 
Access PInvoke.net directly from VS: