[DllImport("ntdll.dll", SetLastError = true)] public static extern int NtWriteVirtualMemory( IntPtr ProcessHandle, IntPtr BaseAddress, [In] byte[] Buffer, uint NumberOfBytesToWrite, out uint NumberOfBytesWritten );
Microsoft documentation: Link
Last updated 1 year ago