Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- namespace MyWindowsActivator10_1._0
- {
- /// <summary>
- /// Logika interakcji dla klasy MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- }
- private void DelKey_Click(object sender, RoutedEventArgs e)
- {
- var proc1 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk";
- proc1.UseShellExecute = true;
- proc1.WorkingDirectory = @"C:\Windows\System32";
- proc1.FileName = @"C:\Windows\System32\cmd.exe";
- proc1.Verb = "runas";
- proc1.Arguments = "/c " + anyCommand;
- proc1.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc1);
- MessageBox.Show("Klucz produktu został usunięty", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void WinHome_Click(object sender, RoutedEventArgs e)
- {
- var proc2 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
- proc2.UseShellExecute = true;
- proc2.WorkingDirectory = @"C:\Windows\System32";
- proc2.FileName = @"C:\Windows\System32\cmd.exe";
- proc2.Verb = "runas";
- proc2.Arguments = "/c " + anyCommand;
- proc2.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc2);
- MessageBox.Show("Windows 10 Home został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void WinPro_Click(object sender, RoutedEventArgs e)
- {
- var proc3 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
- proc3.UseShellExecute = true;
- proc3.WorkingDirectory = @"C:\Windows\System32";
- proc3.FileName = @"C:\Windows\System32\cmd.exe";
- proc3.Verb = "runas";
- proc3.Arguments = "/c " + anyCommand;
- proc3.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc3);
- MessageBox.Show("Windows 10 Proffesional został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void WinProN_Click(object sender, RoutedEventArgs e)
- {
- var proc4 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
- proc4.UseShellExecute = true;
- proc4.WorkingDirectory = @"C:\Windows\System32";
- proc4.FileName = @"C:\Windows\System32\cmd.exe";
- proc4.Verb = "runas";
- proc4.Arguments = "/c " + anyCommand;
- proc4.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc4);
- MessageBox.Show("Windows 10 Proffesional N został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void WinEnter_Click(object sender, RoutedEventArgs e)
- {
- var proc5 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
- proc5.UseShellExecute = true;
- proc5.WorkingDirectory = @"C:\Windows\System32";
- proc5.FileName = @"C:\Windows\System32\cmd.exe";
- proc5.Verb = "runas";
- proc5.Arguments = "/c " + anyCommand;
- proc5.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc5);
- MessageBox.Show("Windows 10 Enterprise został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void WinEnterN_Click(object sender, RoutedEventArgs e)
- {
- var proc6 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
- proc6.UseShellExecute = true;
- proc6.WorkingDirectory = @"C:\Windows\System32";
- proc6.FileName = @"C:\Windows\System32\cmd.exe";
- proc6.Verb = "runas";
- proc6.Arguments = "/c " + anyCommand;
- proc6.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc6);
- MessageBox.Show("Windows 10 Enterprise N został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void WinEdu_Click(object sender, RoutedEventArgs e)
- {
- var proc7 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
- proc7.UseShellExecute = true;
- proc7.WorkingDirectory = @"C:\Windows\System32";
- proc7.FileName = @"C:\Windows\System32\cmd.exe";
- proc7.Verb = "runas";
- proc7.Arguments = "/c " + anyCommand;
- proc7.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc7);
- MessageBox.Show("Windows 10 Education został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void WinEduN_Click(object sender, RoutedEventArgs e)
- {
- var proc8 = new ProcessStartInfo();
- string anyCommand = "cscript slmgr.vbs /upk && cscript slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 && cscript slmgr.vbs /skms kms.lotro.cc && cscript slmgr.vbs /ato";
- proc8.UseShellExecute = true;
- proc8.WorkingDirectory = @"C:\Windows\System32";
- proc8.FileName = @"C:\Windows\System32\cmd.exe";
- proc8.Verb = "runas";
- proc8.Arguments = "/c " + anyCommand;
- proc8.WindowStyle = ProcessWindowStyle.Hidden;
- Process.Start(proc8);
- MessageBox.Show("Windows 10 Education N został aktywowany", "Powiadomienie", MessageBoxButton.OK, MessageBoxImage.Information);
- }
- private void English_Click(object sender, RoutedEventArgs e)
- {
- EnglishAktivator al = new EnglishAktivator();
- al.Show();
- this.Hide();
- }
- private void RussianPl_Click(object sender, RoutedEventArgs e)
- {
- RussianActivator al = new RussianActivator();
- al.Show();
- this.Hide();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement