private bool TryReadByteArray(IntPtr address, uint readSize, out byte[] buffer, out int retSize) { buffer = CreateBuffer(readSize); if (SigScan.ReadProcessMemory(Process.Handle, address, buffer, readSize, out retSize)) { return(true); } return(false); }
public WindowsReader(ILogger <SigScan> scannerLogger, Process process) : base(process) { Scanner = new SigScan(scannerLogger, process); }