Delen via


AssemblyIdentity.FromFile(String) Method

Definition

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:
 static Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyIdentity ^ FromFile(System::String ^ path);
public static Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity FromFile (string path);
static member FromFile : string -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity
Public Shared Function FromFile (path As String) As AssemblyIdentity

Parameters

path
String

The name of the file from which the identity is to be obtained.

Returns

The assembly identity of the specified file.

Applies to