AssemblySignatureKeyAttribute Constructor (String, String)

.NET Framework (current version)

Creates a new instance of the AssemblySignatureKeyAttribute class by using the specified public key and countersignature.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public AssemblySignatureKeyAttribute(
	string publicKey,
	string countersignature


Type: System.String

The public or identity key.

Type: System.String

The countersignature, which is the signature key portion of the strong-name key.

Use Sn.exe to generate the parameters for this constructor.

sn -a IdentityPubKey.snk IdentityKey.snk SignaturePubKey.snk

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top