0

I have interesting to try the security of my programs.

I have this simple fragment of code:

namespace WFACodeInjectionTest
{
    public partial class Form1 : Form
    {

        public int A = 0;
        public int B = 5;

        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show( (A + B).ToString());
        }
    }
}

At runtime it's possible in C# modify the value of variable A e B by another program ?

daniele3004
  • 13,072
  • 12
  • 67
  • 75

0 Answers0