/// <summary> /// Writes a value to another process' memory. /// </summary> /// <param name="dwAddress">Address at which value will be written.</param> /// <param name="Value">Value that will be written to memory.</param> /// <returns>Returns true on success, false on failure.</returns> public bool WriteObject(uint dwAddress, object Value) { return(SMemory.WriteObject(this.m_hProcess, dwAddress, Value, Value.GetType())); }
/// <summary> /// Writes a value to another process' memory. /// </summary> /// <param name="dwAddress">Address at which value will be written.</param> /// <param name="Value">Value that will be written to memory.</param> /// <param name="objType">Type of object to be written (hint: use Object.GetType() or typeof(ObjectType)).</param> /// <returns>Returns true on success, false on failure.</returns> public bool WriteObject(uint dwAddress, object Value, Type objType) { return(SMemory.WriteObject(this.m_hProcess, dwAddress, Value, objType)); }