Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Module::GetPEKind Method (PortableExecutableKinds%, ImageFileMachine%)

 

Gets a pair of values indicating the nature of the code in a module and the platform targeted by the module.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual void GetPEKind(
	[OutAttribute] PortableExecutableKinds% peKind,
	[OutAttribute] ImageFileMachine% machine
)

Parameters

peKind
Type: System.Reflection::PortableExecutableKinds%

When this method returns, a combination of the PortableExecutableKinds values indicating the nature of the code in the module.

machine
Type: System.Reflection::ImageFileMachine%

When this method returns, one of the ImageFileMachine values indicating the platform targeted by the module.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft