コード例 #1
0
        private void InjectCodeButton_Click(object sender, EventArgs e)
        {
            uint offset = Convert.ToUInt32(InjectionAddressTextBox.Text.StartsWith("0x", StringComparison.CurrentCultureIgnoreCase) ? InjectionAddressTextBox.Text.Substring(2) : InjectionAddressTextBox.Text, 16);

            byte[] buffer = StringToByteArray(BinaryTextBox.Text.Replace(" ", ""));
            xbCon.WriteBytes(offset, buffer);
        }