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
flagsDotNetDirectoryFlagsplatformPlatform
Returns
- bool
- The flags of the module as specified in its COR20 header.
The platform to assume the module is loaded on.
trueif the module is loaded as a 32-bit process,falseif 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
flagsDotNetDirectoryFlagsThe flags of the module as specified in its COR20 header.
platformPlatformThe platform to assume the module is loaded on.
assume32BitSystembooltrueif a 32-bit system should be assumed.canLoadAs32Bitbooltrueif the application can be loaded as a 32-bit process.
Returns
- bool
trueif the module is loaded as a 32-bit process,falseif it is loaded as a 64-bit process.