AssemblyIdentity Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the identity of an assembly.

Namespace:   Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

System.Object
  Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity

[ComVisibleAttribute(false)]
public sealed class AssemblyIdentity

NameDescription
System_CAPS_pubmethodAssemblyIdentity()

Initializes a new instance of the AssemblyIdentity class.

System_CAPS_pubmethodAssemblyIdentity(AssemblyIdentity)

Initializes a new instance of the AssemblyIdentity class.

System_CAPS_pubmethodAssemblyIdentity(String)

Initializes a new instance of the AssemblyIdentity class.

System_CAPS_pubmethodAssemblyIdentity(String, String)

Initializes a new instance of the AssemblyIdentity class.

System_CAPS_pubmethodAssemblyIdentity(String, String, String, String)

Initializes a new instance of the AssemblyIdentity class.

System_CAPS_pubmethodAssemblyIdentity(String, String, String, String, String)

Initializes a new instance of the AssemblyIdentity class.

System_CAPS_pubmethodAssemblyIdentity(String, String, String, String, String, String)

Initializes a new instance of the AssemblyIdentity class.

NameDescription
System_CAPS_pubpropertyCulture

Gets or sets the culture of the assembly.

System_CAPS_pubpropertyIsFrameworkAssembly

Returns True if this assembly is part of the .NET Framework.

System_CAPS_pubpropertyIsNeutralPlatform

Gets a value indicating whether the assembly identity represents a neutral platform assembly.

System_CAPS_pubpropertyIsStrongName

Gets a value indicating whether the assembly identity is a strong name.

System_CAPS_pubpropertyName

Gets or sets the simple name of the assembly.

System_CAPS_pubpropertyProcessorArchitecture

Gets or sets the processor architecture of the assembly.

System_CAPS_pubpropertyPublicKeyToken

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

System_CAPS_pubpropertyType

Gets or sets the type attribute of the assembly.

System_CAPS_pubpropertyVersion

Gets or sets the version of the assembly.

System_CAPS_pubpropertyXmlCulture

This API supports the product infrastructure and is not intended to be used directly from your code. Get or sets a property that is used to serialize the Culture property to an XML file.

System_CAPS_pubpropertyXmlName

This API supports the product infrastructure and is not intended to be used directly from your code. Get or sets a property that is used to serialize the Name property to an XML file.

System_CAPS_pubpropertyXmlProcessorArchitecture

This API supports the product infrastructure and is not intended to be used directly from your code. Get or sets a property that is used to serialize the ProcessorArchitecture property to an XML file.

System_CAPS_pubpropertyXmlPublicKeyToken

This API supports the product infrastructure and is not intended to be used directly from your code. Get or sets a property that is used to serialize the PublicKeyToken property to an XML file.

System_CAPS_pubpropertyXmlType

This API supports the product infrastructure and is not intended to be used directly from your code. Get or sets a property that is used to serialize the Type property to an XML file.

System_CAPS_pubpropertyXmlVersion

This API supports the product infrastructure and is not intended to be used directly from your code. Get or sets a property that is used to serialize the Version property to an XML file.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromAssemblyName(String)

Parses string to obtain an assembly identity. Returns null if identity could not be obtained.

System_CAPS_pubmethodSystem_CAPS_staticFromFile(String)

Obtains identity of the specified assembly. File can be a PE with an embedded xml manifest, a stand-alone xml manifest file, or a .NET assembly. Returns null if identity could not be obtained.

System_CAPS_pubmethodSystem_CAPS_staticFromManagedAssembly(String)

Obtains identity of the specified .NET assembly. File must be a .NET assembly. Returns null if identity could not be obtained.

System_CAPS_pubmethodSystem_CAPS_staticFromManifest(String)

Obtains identity of the specified manifest file. File must be a standalone XML manifest file. Returns null if identity could not be obtained.

System_CAPS_pubmethodSystem_CAPS_staticFromNativeAssembly(String)

Obtains identity of the specified native assembly. File must be either a PE with an embedded XML manifest, or a stand-alone XML manifest file. Returns NULL if identity could not be obtained.

System_CAPS_pubmethodGetFullName(AssemblyIdentity.FullNameFlags)

Returns the full name of the assembly.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the full ClickOnce assembly identity.(Overrides Object.ToString().)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: