C# Class s2gsAutomationForms.MemoryReader

Datei anzeigen Open project: gibybo/S2GS-Extractor Class Usage Examples

Public Methods

Method Description
MemoryReader ( ) : System
readNextMemoryRegion ( byte buffer, uint maxSize ) : int

Private Methods

Method Description
AdjustTokenPrivileges ( IntPtr TokenHandle, [ DisableAllPrivileges, TOKEN_PRIVILEGES &NewState, UInt32 BufferLengthInBytes, TOKEN_PRIVILEGES &PreviousState, UInt32 &ReturnLengthInBytes ) : bool
CloseHandle ( IntPtr hObject ) : bool
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
GetCurrentProcess ( ) : IntPtr
GetProcessMemoryInfo ( IntPtr hProcess, PROCESS_MEMORY_COUNTERS &counters, uint size ) : bool
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
LookupPrivilegeValue ( string lpSystemName, string lpName, LUID &lpLuid ) : bool
OpenProcess ( ProcessAccessFlags dwDesiredAccess, [ bInheritHandle, int dwProcessId ) : IntPtr
OpenProcessToken ( IntPtr ProcessHandle, UInt32 DesiredAccess, IntPtr &TokenHandle ) : bool
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, byte lpBuffer, int dwSize, int &lpNumberOfBytesRead ) : bool
VirtualQueryEx ( IntPtr hProcess, IntPtr lpAddress, MEMORY_BASIC_INFORMATION &lpBuffer, uint dwLength ) : int
elevatePrivileges ( ) : bool
getSize ( IntPtr pHandle ) : long
openSC2 ( ) : IntPtr

Method Details

MemoryReader() public method

public MemoryReader ( ) : System
return System

readNextMemoryRegion() public method

public readNextMemoryRegion ( byte buffer, uint maxSize ) : int
buffer byte
maxSize uint
return int