System.Reflection.AssemblyName Members

The members of System.Reflection.AssemblyName are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Reflection.AssemblyName class.

Initializes a new instance of the System.Reflection.AssemblyName class with the specified display name.

Public Properties

CodeBasestring.

Gets or sets the location of the assembly as a URL.

ContentTypeAssemblyContentType.

Gets or sets a value that indicates what type of content the assembly contains.

CultureInfoSystem.Globalization.CultureInfo.

Gets or sets the culture supported by the assembly.

[read-only]
CultureNamestring.

Gets or sets the name of the culture associated with the assembly.

[read-only]
EscapedCodeBasestring.

Gets the URI, including escape characters, that represents the codebase.

FlagsAssemblyNameFlags.

Gets or sets the attributes of the assembly.

[read-only]
FullNamestring.

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

HashAlgorithmSystem.Configuration.Assemblies.AssemblyHashAlgorithm.

Gets or sets the hash algorithm used by the assembly manifest.

KeyPairStrongNameKeyPair.

Gets or sets the public and private cryptographic key pair that is used to create a strong name signature for the assembly.

Namestring.

Gets or sets the simple name of the assembly. This is usually, but not necessarily, the file name of the manifest file of the assembly, minus its extension.

ProcessorArchitectureProcessorArchitecture.

Gets or sets a value that identifies the processor and bits-per-word of the platform targeted by an executable.

VersionVersion.

Gets or sets the major, minor, build, and revision numbers of the assembly.

VersionCompatibilitySystem.Configuration.Assemblies.AssemblyVersionCompatibility.

Gets or sets the information related to the assembly's compatibility with other assemblies.

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.

Explicitly Implemented Interface Members

System.Runtime.InteropServices._AssemblyName.GetIDsOfNamesDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._AssemblyName.GetTypeInfo

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System.Runtime.InteropServices._AssemblyName.GetTypeInfoCountDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._AssemblyName.InvokeDocumentation for this section has not yet been entered.