System.Reflection.AssemblyName.KeyPair Property

Gets or sets the public and private cryptographic key pair that is used to create a strong name signature for the assembly.

Syntax

public StrongNameKeyPair KeyPair { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

When the runtime loads an assembly, it does not set the AssemblyName.KeyPair property. The getter for the property is only useful if the user set the property before using the System.Reflection.AssemblyName object to create a dynamic assembly, and subsequently wants to retrieve the key pair.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0