c# - Delete a self signed certificate created using makecert -
i created self-signed certificate using following command:
makecert -r -pe -n "cn=aaa" -sky exchange -ss -sr localmachine aaa.cer
this certificate shows server certificate in iis manager, want.
now wish delete programmatically (c#
), command line can that?
you can delete delete other file in c#:
string path = @"c:\program files\microsoft sdks\windows\v6.0a\bin\aaa.cer"; fileinfo myfileinf = new fileinfo(path); myfileinf.delete();
Comments
Post a Comment