C# 클래스 GR.Win32.ExternalProcess

파일 보기 프로젝트 열기: alexhanh/Botting-Library 1 사용 예제들

공개 메소드들

메소드 설명
AllocateMemory ( int size ) : IntPtr
Create ( string command ) : ExternalProcess
ExternalProcess ( uint process_id ) : System
FreeMemory ( IntPtr pointer ) : void
FromWindow ( Window window ) : ExternalProcess
Read ( IntPtr external_source, byte local_dest, int size ) : void
Write ( IntPtr local_source, IntPtr external_dest, int size ) : void
Write ( byte local_source, IntPtr external_dest, int size ) : void

비공개 메소드들

메소드 설명
CloseHandle ( IntPtr hObject ) : bool
CreateProcess ( string lpApplicationName, string lpCommandLine, SECURITY_ATTRIBUTES &lpProcessAttributes, SECURITY_ATTRIBUTES &lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, [ lpStartupInfo, PROCESS_INFORMATION &lpProcessInformation ) : bool
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
OpenProcess ( uint dwDesiredAccess, bool bInheritHandle, uint dwProcessId ) : IntPtr
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, [ lpBuffer, uint nSize, IntPtr lpNumberOfBytesRead ) : bool
VirtualAllocEx ( IntPtr hProcess, IntPtr lpAddress, uint dwSize, uint flAllocationType, uint flProtect ) : IntPtr
VirtualFreeEx ( IntPtr hProcess, IntPtr lpAddress, UIntPtr dwSize, uint dwFreeType ) : bool
WriteProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, IntPtr lpBuffer, uint size, IntPtr lpNumberOfBytesWritten ) : bool
WriteProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, byte lpBuffer, uint size, IntPtr lpNumberOfBytesWritten ) : bool

메소드 상세

AllocateMemory() 공개 메소드

public AllocateMemory ( int size ) : IntPtr
size int
리턴 System.IntPtr

Create() 공개 정적인 메소드

public static Create ( string command ) : ExternalProcess
command string
리턴 ExternalProcess

ExternalProcess() 공개 메소드

public ExternalProcess ( uint process_id ) : System
process_id uint
리턴 System

FreeMemory() 공개 메소드

public FreeMemory ( IntPtr pointer ) : void
pointer System.IntPtr
리턴 void

FromWindow() 공개 정적인 메소드

public static FromWindow ( Window window ) : ExternalProcess
window Window
리턴 ExternalProcess

Read() 공개 메소드

public Read ( IntPtr external_source, byte local_dest, int size ) : void
external_source System.IntPtr
local_dest byte
size int
리턴 void

Write() 공개 메소드

public Write ( IntPtr local_source, IntPtr external_dest, int size ) : void
local_source System.IntPtr
external_dest System.IntPtr
size int
리턴 void

Write() 공개 메소드

public Write ( byte local_source, IntPtr external_dest, int size ) : void
local_source byte
external_dest System.IntPtr
size int
리턴 void