How can I export a certificate from the system?
There are certificates in my system in the "My" store
and "Root" store.
I can export the certificates by click the buttons.How can
I export the
certificate by program (using C# or something else)?

Can anyone help me ?

Thanks,
lgd94047271@hotmail.com

Re: How can I export a certificate by programming? by S

S
Fri Jul 04 04:13:31 CDT 2003

You need to use PFXExportCertStoreEx API:

http://msdn.microsoft.com/library/en-us/security/security/pfxexportcertstoreex.asp

microsoft.public.platformsdk.security is a better place to ask - I'd
recommend to use Google Grops first and search for the above function.

--
Svyatoslav Pidgorny, MS MVP, MCSE
-= F1 is the key =-


"Liu Guidong" <lgd94047271@hotmail.com> wrote in message
news:08c301c341fa$3afd8af0$a101280a@phx.gbl...
> How can I export a certificate from the system?
> There are certificates in my system in the "My" store
> and "Root" store.
> I can export the certificates by click the buttons.How can
> I export the
> certificate by program (using C# or something else)?
>
> Can anyone help me ?
>
> Thanks,
> lgd94047271@hotmail.com
>