プログラムで特定の.netdllの「Issuedto」、「Issuedby」などの証明書情報を取得したい。
前もって感謝します!!
あなたは次のようなものでそれを行うことができるはずです:
Assembly asm = Assembly.LoadFrom("your_assembly.dll");
string exe = asm.Location;
System.Security.Cryptography.X509Certificates.X509Certificate executingCert =
System.Security.Cryptography.X509Certificates.X509Certificate.CreateFromSignedFile(exe);
Console.WriteLine (executingCert.Issuer);