Get detailed information on signing an EXE file using .NET.

I am trying to get information about the digital signature of an executable file in managed code. I basically need the name and issuer of the certificate. There's a C ++ sample code from Microsoft that explains this for C ++, but is there a similar way to do this with C #?

+4
source share
1 answer

Create a crypto object from a signed file using this function: http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509certificate.createfromsignedfile%28v=vs.100%29.aspx

Then call the .Issuer property for this object.

+3
source

Source: https://habr.com/ru/post/1495584/


All Articles