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 StrongNameKeyPair(byte[ ] keyPairArray);
   public StrongNameKeyPair(System.IO.FileStream keyPairFile);
   public StrongNameKeyPair(string keyPairContainer);
// Public Instance Properties
   public byte[ ] PublicKey{get; }
}

Returned By

AssemblyName.KeyPair

Passed To

AssemblyName.KeyPair

Get C# in a Nutshell, Second Edition 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.