AssemblyIdentity.FromFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.