I got a code for creating self signed certificates, In that while calling a function i am unable to specify the certificate name because i dont know how to give that.
Collapse | Copy Code
Public Shared Function CreateSelfSignCertificate(ByVal distinguishedName As X500DistinguishedName, ByVal startDate As DateTime, ByVal endDate As DateTime) As X509Certificate2
How to give the distinguishedName?
the name i want to give to my certificate is "alcohol" how can i accomplish this. Please help its really urgent.
I have attached the class file please check it.
| Reply with attachment
| Alert Moderator