I have this code in visual basic:
Dim CERT_SIS As String = "my.cer"
Dim CerNo As String
Dim CerSAT As System.Security.Cryptography.X509Certificates.X509Certificate
CerSAT = System.Security.Cryptography.X509Certificates.X509Certificate.CreateFromCertFile(CERT_SIS)
CerNo = StrReverse(System.Text.Encoding.ASCII.GetString(CerSAT.GetSerialNumber))
I want to convert it to C#...
and it gives me error with this code:
CerNo = StrReverse(System.Text.Encoding.ASCII.GetString(CerSAT.GetSerialNumber))
how can I do it?