This topic has not yet been rated - Rate this topic

AssemblyIdentity Class

Specifies the identity of an assembly.

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

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
[ComVisibleAttribute(false)]
public sealed class AssemblyIdentity

The AssemblyIdentity type exposes the following members.

  Name Description
Public method AssemblyIdentity() Initializes a new instance of the AssemblyIdentity class.
Public method AssemblyIdentity(AssemblyIdentity) Initializes a new instance of the AssemblyIdentity class.
Public method AssemblyIdentity(String) Initializes a new instance of the AssemblyIdentity class.
Public method AssemblyIdentity(String, String) Initializes a new instance of the AssemblyIdentity class.
Public method AssemblyIdentity(String, String, String, String) Initializes a new instance of the AssemblyIdentity class.
Public method AssemblyIdentity(String, String, String, String, String) Initializes a new instance of the AssemblyIdentity class.
Public method AssemblyIdentity(String, String, String, String, String, String) Initializes a new instance of the AssemblyIdentity class.
Top
  Name Description
Public property Culture Gets or sets the culture of the assembly.
Public property IsFrameworkAssembly Returns True if this assembly is part of the .NET Framework.
Public property IsNeutralPlatform Gets a value indicating whether the assembly identity represents a neutral platform assembly.
Public property IsStrongName Gets a value indicating whether the assembly identity is a strong name.
Public property Name Gets or sets the simple name of the assembly.
Public property ProcessorArchitecture Gets or sets the processor architecture of the assembly.
Public property PublicKeyToken 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.
Public property Type Gets or sets the type attribute of the assembly.
Public property Version Gets or sets the version of the assembly.
Public property XmlCulture Infrastructure. Get or sets a property that is used to serialize the Culture property to an XML file.
Public property XmlName Infrastructure. Get or sets a property that is used to serialize the Name property to an XML file.
Public property XmlProcessorArchitecture Infrastructure. Get or sets a property that is used to serialize the ProcessorArchitecture property to an XML file.
Public property XmlPublicKeyToken Infrastructure. Get or sets a property that is used to serialize the PublicKeyToken property to an XML file.
Public property XmlType Infrastructure. Get or sets a property that is used to serialize the Type property to an XML file.
Public property XmlVersion Infrastructure. Get or sets a property that is used to serialize the Version property to an XML file.
Top
  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromAssemblyName Parses string to obtain an assembly identity. Returns null if identity could not be obtained.
Public method Static member FromFile 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.
Public method Static member FromManagedAssembly Obtains identity of the specified .NET assembly. File must be a .NET assembly. Returns null if identity could not be obtained.
Public method Static member FromManifest Obtains identity of the specified manifest file. File must be a standalone XML manifest file. Returns null if identity could not be obtained.
Public method Static member FromNativeAssembly 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.
Public method GetFullName Returns the full name of the assembly.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the full ClickOnce assembly identity. (Overrides Object.ToString().)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ