다음을 통해 공유


AssemblyIdentity.FromNativeAssembly(String) Method

Definition

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.

Applies to