Desktop Functions: Smart Device Functions:
|
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)) { |