我在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))
我想将其转换为C#...
并且它给我这个代码的错误:
CerNo = StrReverse(System.Text.Encoding.ASCII.GetString(CerSAT.GetSerialNumber))
我该怎么办?