Example #1
0
        void InjectKey(string key)
        {
            ErrorState error = CdKey.Inject(GameID, key);

            if (ErrorHandler.Handle(this, error))
            {
                return;
            }

            Sound.Asterisk();
        }
Example #2
0
        ///////////////

        private void button_Generate_Click(object sender, EventArgs e)
        {
            textBox_NewKey.Text = CdKey.GenerateUnique();
            textBox_NewKey.Update();
        }