Table of Contents

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 DotNetDirectoryFlags
platform 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 DotNetDirectoryFlags

The flags of the module as specified in its COR20 header.

platform Platform

The platform to assume the module is loaded on.

assume32BitSystem bool

true if a 32-bit system should be assumed.

canLoadAs32Bit bool

true 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.