[DllImport("crypt32.dll", CharSet=CharSet.Auto, SetLastError=true)]
static extern IntPtr CertOpenSystemStore(IntPtr hCryptProv, string storename);
Declare Function CertOpenSystemStore Lib "crypt32.dll" (hCryptProv As IntPtr, _
storename As String) As IntPtr
None.
None.
Please add some!
Please add some!
WSE 1.0/2.0 have several functions that allow you to open and browse the key store. In addition, the X509CertificateEx class in WSE allows you to access the private key associated with the certificate. Whidbey makes it all a snap and you can even add and remove certs from stores, etc.