Export (0) Print
Expand All

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.

  NameDescription
Public methodAssemblyIdentity()Initializes a new instance of the AssemblyIdentity class.
Public methodAssemblyIdentity(AssemblyIdentity)Initializes a new instance of the AssemblyIdentity class.
Public methodAssemblyIdentity(String)Initializes a new instance of the AssemblyIdentity class.
Public methodAssemblyIdentity(String, String)Initializes a new instance of the AssemblyIdentity class.
Public methodAssemblyIdentity(String, String, String, String)Initializes a new instance of the AssemblyIdentity class.
Public methodAssemblyIdentity(String, String, String, String, String)Initializes a new instance of the AssemblyIdentity class.
Public methodAssemblyIdentity(String, String, String, String, String, String)Initializes a new instance of the AssemblyIdentity class.
Top

  NameDescription
Public propertyCultureGets or sets the culture of the assembly.
Public propertyIsFrameworkAssemblyReturns True if this assembly is part of the .NET Framework.
Public propertyIsNeutralPlatformGets a value indicating whether the assembly identity represents a neutral platform assembly.
Public propertyIsStrongNameGets a value indicating whether the assembly identity is a strong name.
Public propertyNameGets or sets the simple name of the assembly.
Public propertyProcessorArchitectureGets or sets the processor architecture of the assembly.
Public propertyPublicKeyTokenGets 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 propertyTypeGets or sets the type attribute of the assembly.
Public propertyVersionGets or sets the version of the assembly.
Public propertyXmlCultureInfrastructure. Get or sets a property that is used to serialize the Culture property to an XML file.
Public propertyXmlNameInfrastructure. Get or sets a property that is used to serialize the Name property to an XML file.
Public propertyXmlProcessorArchitectureInfrastructure. Get or sets a property that is used to serialize the ProcessorArchitecture property to an XML file.
Public propertyXmlPublicKeyTokenInfrastructure. Get or sets a property that is used to serialize the PublicKeyToken property to an XML file.
Public propertyXmlTypeInfrastructure. Get or sets a property that is used to serialize the Type property to an XML file.
Public propertyXmlVersionInfrastructure. Get or sets a property that is used to serialize the Version property to an XML file.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic memberFromAssemblyNameParses string to obtain an assembly identity. Returns null if identity could not be obtained.
Public methodStatic memberFromFileObtains 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 methodStatic memberFromManagedAssemblyObtains identity of the specified .NET assembly. File must be a .NET assembly. Returns null if identity could not be obtained.
Public methodStatic memberFromManifestObtains identity of the specified manifest file. File must be a standalone XML manifest file. Returns null if identity could not be obtained.
Public methodStatic memberFromNativeAssemblyObtains 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 methodGetFullNameReturns the full name of the assembly.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the full ClickOnce assembly identity. (Overrides Object.ToString().)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft