Friday, 15 April 2011

c# - Read the signing certificate of the running application from code -



c# - Read the signing certificate of the running application from code -

i have application sign pfx certificate via visual studio 2013.

i want read certificate within application. i'm guessing have utilize reflection.

i've tried manifest per:

assembly = assembly.getexecutingassembly(); x509certificate x = a.manifestmodule.getsignercertificate();

but still x remains null.

how read certificate?

c# .net certificate x509

No comments:

Post a Comment