Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.28 KB | None | 0 0
  1. string HWID = fetchInfo.DownloadString("https://dayz.planb-life.com/execute.php?action=hwid&userName=" + Username);
  2.                 if (HWID == GetMachineGuid())
  3.                 {
  4.                    
  5.                     if (premiumState == "1")
  6.                     {
  7.                         MessageBox.Show("You are logged in! Admin!", "Logged in", MessageBoxButtons.OK, MessageBoxIcon.Information);
  8.                         AdminPanel f2 = new AdminPanel();
  9.                         f2.Show();
  10.                         this.Hide();
  11.  
  12.                     }
  13.                     else
  14.                     {
  15.                         MessageBox.Show("You are logged in!", "Logged in", MessageBoxButtons.OK, MessageBoxIcon.Information);
  16.                         Home f2 = new Home();
  17.                         f2.Show();
  18.                         this.Hide();
  19.  
  20.                     }
  21.                 }
  22.                 else if (HWID == "")
  23.                 {
  24.                     MessageBox.Show("Whould you Activate you License on this Computer?");
  25.                 }
  26.  
  27.                 else
  28.                 {
  29.                     MessageBox.Show("Your License is no avaible on this Computer, please ask the support for an reset!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  30.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement