Ejemplo n.º 1
0
        private void kilitsiz()//Flash Belleği Bulduğu Zaman Çalışacak Olan Kodlar
        {
            a = 60;
            qr_kod();
            timer4.Enabled = true;

            if (tools.internetSorgusu)
            {
                GetSourceCode("https://guard.bahadirduzcan.com.tr/api.php?nick=" + kullaniciAdi + "&pass=0&ip=" + tools.IpAdresi + "&kod=159753Guard");
            }

            this.WindowState = FormWindowState.Normal;
            this.TopMost     = false;
            this.Width       = 1;
            this.Height      = 1;
            this.Location    = new Point(99999, 99999);
            timer2.Enabled   = false;

            if (flashTakili)
            {
                Flash_Kontrol flash = new Flash_Kontrol();
                Flash_Kontrol.FlashKontrol(false);
                flash.Show();
                flashTakili = false;
                Mute();
                VolUp();
                VolDown();

                Taskbar.Show();
                SetTaskbarState(AppBarStates.AlwaysOnTop);

                RegistryKey rkey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies", true);
                rkey.CreateSubKey("System", RegistryKeyPermissionCheck.Default);
                rkey.Close();
                RegistryKey rkey2 = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies\System", true);
                rkey2.SetValue("DisableTaskMgr", 0);
                rkey2.Close();
            }

            flashCikarili = true;
        }
Ejemplo n.º 2
0
        private void kilitli()//Flash Belleği Bulamadığı Zaman Çalışacak Olan Kodlar
        {
            this.WindowState = FormWindowState.Maximized;
            this.TopMost     = true;

            if (tools.internetSorgusu)
            {
                GetSourceCode("https://guard.bahadirduzcan.com.tr/api.php?nick=" + kullaniciAdi + "&pass=8" + kod + DateTime.Now.ToString("HH") + "&ip=" + tools.IpAdresi + "&kod=159753Guard");
            }

            timer4.Enabled = true;
            timer2.Enabled = true;

            if (flashCikarili)
            {
                Flash_Kontrol flash = new Flash_Kontrol();
                Flash_Kontrol.FlashKontrol(true);
                flash.Show();
                flashCikarili = false;
                Mute();
                this.TopMost = true;

                SetTaskbarState(AppBarStates.AutoHide);
                Taskbar.Hide();
                System.Threading.Thread.Sleep(100);
                Taskbar.Hide();


                RegistryKey rkey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies", true);
                rkey.CreateSubKey("System", RegistryKeyPermissionCheck.Default);
                rkey.Close();
                RegistryKey rkey2 = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies\System", true);
                rkey2.SetValue("DisableTaskMgr", 1);
                rkey2.Close();
            }

            flashTakili = true;
        }