Export (0) Print
Expand All

AssemblyName Methods

The methods of the AssemblyName class are listed here. For a complete list of AssemblyName class members, see the AssemblyName Members topic.

Public Methods

public methodClone

Supported by the .NET Compact Framework.

Makes a copy of this AssemblyName object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodstatic (Shared in Visual Basic)GetAssemblyName Gets the AssemblyName for a given file.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetObjectData Gets serialization information with all of the data needed to recreate an instance of this AssemblyName.
public methodGetPublicKey

Supported by the .NET Compact Framework.

Gets the public key of the assembly.
public methodGetPublicKeyToken

Supported by the .NET Compact Framework.

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.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodOnDeserialization Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.
public methodSetPublicKey

Supported by the .NET Compact Framework.

Sets the public key identifying the assembly.
public methodSetPublicKeyToken

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

AssemblyName Class | System.Reflection Namespace

Show:
© 2014 Microsoft