Example #1
0
 public void WriteInt64(IntPtr address, Int64 value)
 {
     RWM.WriteBytes(processHandle, address, BitConverter.GetBytes(value));
 }
Example #2
0
 public void WriteByte(IntPtr address, byte value)
 {
     RWM.WriteBytes(processHandle, address, new byte[] { value });
 }
Example #3
0
 public void WriteByteArray(IntPtr address, byte[] array)
 {
     RWM.WriteBytes(processHandle, address, array);
 }
Example #4
0
 public Char ReadChar(IntPtr address)
 {
     return(BitConverter.ToChar(RWM.ReadBytes(processHandle, address, sizeof(Char)), 0));
 }
Example #5
0
 public String ReadASCII(IntPtr address, int length)
 {
     return(System.Text.Encoding.ASCII.GetString(RWM.ReadBytes(processHandle, address, sizeof(Char) * length), 0, length));
 }
Example #6
0
 public Double ReadDouble(IntPtr address)
 {
     return(BitConverter.ToDouble(RWM.ReadBytes(processHandle, address, sizeof(Double)), 0));
 }
Example #7
0
 public Boolean ReadBoolean(IntPtr address)
 {
     return(BitConverter.ToBoolean(RWM.ReadBytes(processHandle, address, sizeof(Boolean)), 0));
 }
Example #8
0
 public Int64 ReadInt64(IntPtr address)
 {
     return(BitConverter.ToInt64(RWM.ReadBytes(processHandle, address, sizeof(Int64)), 0));
 }
Example #9
0
 public Single ReadSingle(IntPtr address)
 {
     return(BitConverter.ToSingle(RWM.ReadBytes(processHandle, address, sizeof(Single)), 0));
 }
Example #10
0
 public byte[] ReadByteArray(IntPtr address, int size)
 {
     return(RWM.ReadBytes(processHandle, address, size));
 }
Example #11
0
 public byte ReadByte(IntPtr address)
 {
     return(RWM.ReadBytes(processHandle, address, 1)[0]);
 }
Example #12
0
 public void WriteASCII(IntPtr address, string value)
 {
     RWM.WriteBytes(processHandle, address, Encoding.ASCII.GetBytes(value));
 }
Example #13
0
 public void WriteBoolean(IntPtr address, Boolean value)
 {
     RWM.WriteBytes(processHandle, address, BitConverter.GetBytes(value));
 }
Example #14
0
 public void WriteDouble(IntPtr address, Double value)
 {
     RWM.WriteBytes(processHandle, address, BitConverter.GetBytes(value));
 }