Invoke Windows Certificate Export Wizard .NET [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 08:27:36

问题


Does anyone know how to invoke/display the Windows Certificate Export Wizard Programmatically within C#.NET whilst providing an X509 Certificate?


回答1:


I think you'll have to P/Invoke CryptUIWizExport from the Cryptui.dll.




回答2:


I don't know, but i do vote for program this wizard in C#. Look at X509Certificate2UI class and X509Certificate2.Export method. You will find there everything you need to export cert from store.



来源:https://stackoverflow.com/questions/3223852/invoke-windows-certificate-export-wizard-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!