Class DotNetDirectoryFlagsExtensions
- Namespace
- AsmResolver.PE.DotNet
- Assembly
- AsmResolver.PE.dll
Provides extension methods for DotNetDirectoryFlags.
public static class DotNetDirectoryFlagsExtensions
- Inheritance
-
DotNetDirectoryFlagsExtensions
- Inherited Members
Methods
IsLoadedAs32Bit(DotNetDirectoryFlags, Platform)
Determines whether the module is loaded as a 32-bit process.
public static bool IsLoadedAs32Bit(this DotNetDirectoryFlags flags, Platform platform)
Parameters
flags
DotNetDirectoryFlagsplatform
Platform
Returns
- bool
- The flags of the module as specified in its COR20 header.
The platform to assume the module is loaded on.
true
if the module is loaded as a 32-bit process,false
if it is loaded as a 64-bit process.
IsLoadedAs32Bit(DotNetDirectoryFlags, Platform, bool, bool)
Determines whether the module is loaded as a 32-bit process.
public static bool IsLoadedAs32Bit(this DotNetDirectoryFlags flags, Platform platform, bool assume32BitSystem, bool canLoadAs32Bit)
Parameters
flags
DotNetDirectoryFlagsThe flags of the module as specified in its COR20 header.
platform
PlatformThe platform to assume the module is loaded on.
assume32BitSystem
booltrue
if a 32-bit system should be assumed.canLoadAs32Bit
booltrue
if the application can be loaded as a 32-bit process.
Returns
- bool
true
if the module is loaded as a 32-bit process,false
if it is loaded as a 64-bit process.