System.Reflection.AssemblyName: Method Members

The methods of System.Reflection.AssemblyName are listed below. For a list of all members, see the AssemblyName Members list.

See Also: Inherited members from System.Object

Public Methods

Clone() : object

Makes a copy of this System.Reflection.AssemblyName object.

static
GetAssemblyName(string) : AssemblyName

Gets the System.Reflection.AssemblyName for a given file.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Gets serialization information with all the data needed to recreate an instance of this AssemblyName.

GetPublicKey() : byte[]

Gets the public key of the assembly.

GetPublicKeyToken() : byte[]

Gets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.

OnDeserialization(object)

Implements the System.Runtime.Serialization.ISerializable interface and is called back by the deserialization event when deserialization is complete.

static
ReferenceMatchesDefinition(AssemblyName, AssemblyName) : bool

Returns a value indicating whether two assembly names are the same. The comparison is based on the simple assembly names.

SetPublicKey(byte[])

Sets the public key identifying the assembly.

SetPublicKeyToken(byte[])

Sets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.

override
ToString() : string

Returns the full name of the assembly, also known as the display name.