StrongNameKeyPair Constructor (String)

 

Initializes a new instance of the StrongNameKeyPair class, building the key pair from a String.

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

public StrongNameKeyPair(
	string keyPairContainer
)

Parameters

keyPairContainer
Type: System.String

A string containing the key pair.

Exception Condition
ArgumentNullException

keyPairContainer is null.

SecurityException

The caller does not have the required permission.

The key pair is in a named key container.

SecurityPermission

for access to unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode.

.NET Framework
Available since 1.1
Return to top
Show: