Example #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            string hash = LicenseInformationHash.LicenseHash("MİRAÇ ÖZTÜRK", "SANCAK");

            string text          = LicenseJobSystem.Text;
            var    getLicenseKey = IniControl.GetValue("LisansAnahtari");
            Guid   guid;
            bool   guidStatus   = Guid.TryParse(getLicenseKey, out guid);
            bool   license      = LicenseJobSystem.LicenseControl(getLicenseKey);
            string serialNumber = LicenseJobSystem.GetHddNo();

            if (string.IsNullOrEmpty(getLicenseKey) || !guidStatus || !license || serialNumber != null)
            {
                UrunDogrulama ud = new UrunDogrulama();
                if (ud.ShowDialog() != DialogResult.OK)
                {
                    return;
                }
            }
            Application.Run(new UrunGirisEkrani());
        }
Example #2
0
        private void keyCheck_Click(object sender, EventArgs e)
        {
            IniControl.SetValue("", keyBox.Text);

            DialogResult = DialogResult.OK;
        }