Name

StrongNameKeyPair

Synopsis

This property allows reflection of an assembly’s strong name. Use PublicKey to decrypt the encrypted name to verify the authenticity of the assembly.

public class StrongNameKeyPair {
// Public Constructors
   public method StrongNameKeyPair(byte[] keyPairArray);  
   public method StrongNameKeyPair(
        System.IO.FileStream keyPairFile);  
   public method StrongNameKeyPair(string keyPairContainer);  
// Public Instance Properties
   public field byte[] PublicKey{get; } 
}

Returned By

AssemblyName.KeyPair

Passed To

AssemblyName.KeyPair

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.