Exemplo n.º 1
0
        /// <summary>
        /// </summary>
        /// <param name="address"> </param>
        /// <param name="buffer"> </param>
        /// <returns> </returns>
        public bool Peek(IntPtr address, byte[] buffer)
        {
            IntPtr lpNumberOfBytesRead;

            return(UnsafeNativeMethods.ReadProcessMemory(Instance.ProcessHandle, address, buffer, new IntPtr(buffer.Length), out lpNumberOfBytesRead));
        }