UtilPeHeaderGetPEFileKind(FileInfo) Method
Gets the PEFileKinds of the specified .NET assembly.
Namespace: DevCase.Core.Diagnostics.AssemblyAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static PEFileKinds GetPEFileKind(
FileInfo file
)
Public Shared Function GetPEFileKind (
file As FileInfo
) As PEFileKinds
Dim file As FileInfo
Dim returnValue As PEFileKinds
returnValue = UtilPeHeader.GetPEFileKind(file)
public:
static PEFileKinds GetPEFileKind(
FileInfo^ file
)
static member GetPEFileKind :
file : FileInfo -> PEFileKinds
No code example is currently available or this language may not be supported.
- file FileInfo
-
The assembly file.
PEFileKinds
The resulting
PEFileKinds.
This is a code example.
No code example is currently available or this language may not be supported.
Dim assemblyFile As New FileInfo("C:\Assembly.exe")
Dim peFileKind As PEFileKinds = GetPEFileKind(assemblyFile)
Console.WriteLine(peFileKind.ToString())
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.