/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/PEReader.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/PEReader.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/06/07 16:33:41	323
+++ trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/06/07 17:42:57	324
@@ -509,6 +509,11 @@
             public IMAGE_DOS_HEADER DosHeader { get; private set; }
             public IMAGE_NT_HEADERS NTHeader { get; private set; }
             public IMAGE_SECTION_HEADER[] SectionHeaders { get; private set; }
+
+            public bool Is32bitAssembly()
+            {
+                return ((NTHeader.FileHeader._Characteristics & 0x0100) == 0x0100);
+            }
         }
 
         #endregion

 

  ViewVC Help
Powered by ViewVC 1.1.22