O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

AssemblyKeyNameAttribute

Synopsis

This attribute serves the same purpose as a AssemblyKeyFileAttribute, but allows you to specify a key container instead of a file.

public sealed class AssemblyKeyNameAttribute : Attribute {
// Public Constructors
   public method AssemblyKeyNameAttribute(string keyName);  
// Public Instance Properties
   public field string KeyName{get; } 
}

Hierarchy

System.ObjectSystem.AttributeAssemblyKeyNameAttribute

Valid On

Assembly

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required