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