StrongName Constructor (StrongNamePublicKeyBlob, String, Version)

 

Initializes a new instance of the StrongName class with the strong name public key blob, name, and version.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public StrongName(
	StrongNamePublicKeyBlob blob,
	string name,
	Version version
)

Parameters

blob
Type: System.Security.Permissions.StrongNamePublicKeyBlob

The StrongNamePublicKeyBlob of the software publisher.

name
Type: System.String

The simple name section of the strong name.

version
Type: System.Version

The Version of the strong name.

Exception Condition
ArgumentNullException

The blob parameter is null.

-or-

The name parameter is null.

-or-

The version parameter is null.

ArgumentException

The name parameter is an empty string ("").

The name parameter can be null, but it cannot be an empty string ("").

For more information about strong names, see StrongNameIdentityPermission and StrongNamePublicKeyBlob.

.NET Framework
Available since 1.1
Return to top
Show: