Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[C#] HWID Lock
#1
C# Hwid Lock, No encryption method or anything more, just checking the HWID.

Using;
Code:
using System;
using System.Management;
using System.Windows.Forms;

Project > Add Reference, Click the .NET Tab and find "System.Management" Click it then press ok, Now enter this code into Form1_Load (or what ever your form's named)

Code:
string cpuInfo = string.Empty;
            ManagementClass mc = new ManagementClass("win32_processor");
            ManagementObjectCollection moc = mc.GetInstances();
            foreach (ManagementObject mo in moc)
            {
                if (cpuInfo == "")
                {
                    cpuInfo = mo.Properties["processorID"].Value.ToString();
                    break;
                }
            }
            System.Net.WebClient Wc = new System.Net.WebClient();
            string hwid = Wc.DownloadString("http://www.YourSite.com/Hwid.txt");
            if (hwid.Contains(cpuInfo))
            {
            }
            else
            {
                MessageBox.Show("Your HWID Doesn't exist in our database");
                Environment.Exit(-1);
            }
            Wc.Dispose();

Victoire
Reply


Messages In This Thread
[C#] HWID Lock - by xHtmlPhP - 05-13-2010, 03:21 PM
RE: [C#] HWID Lock - by wchar_t - 05-15-2010, 11:15 AM
RE: [C#] HWID Lock - by Julie - 05-15-2010, 07:47 PM
RE: [C#] HWID Lock - by //Pretext™ - 05-18-2010, 09:14 AM
RE: [C#] HWID Lock - by robbiecee2 - 06-07-2010, 04:47 PM
RE: [C#] HWID Lock - by xHtmlPhP - 06-07-2010, 11:36 PM
RE: [C#] HWID Lock - by º¤øĐőŘđĘø¤º - 06-23-2010, 05:42 AM
RE: [C#] HWID Lock - by saumil - 06-24-2010, 02:20 AM
RE: [C#] HWID Lock - by bgmur - 02-07-2011, 12:04 AM
RE: [C#] HWID Lock - by versx - 02-10-2011, 02:32 AM
RE: [C#] HWID Lock - by w00pz - 02-11-2011, 03:47 PM
RE: [C#] HWID Lock - by Grizzly - 02-17-2011, 04:44 PM
RE: [C#] HWID Lock - by Baked - 02-24-2011, 10:22 AM
RE: [C#] HWID Lock - by dime111 - 03-08-2011, 11:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Guidtech [Better then HWID][WITH VB FILES!] The-One 5 7,046 08-07-2015, 06:18 AM
Last Post: darknessxk
  HWID/LOGIN SYSTEM(Help) Coding Support 5 2,400 01-08-2012, 11:57 AM
Last Post: ★Cooldude★
  Decent HWID System? lolwtfhax 9 3,058 09-29-2011, 11:05 AM
Last Post: Relapse
  [C#] Offline Login Sytem (Serial generator, HWID, Expiration)[Source] KoBE 24 9,555 07-30-2011, 09:25 AM
Last Post: Trustable
  [Tutorial/Explaination] Secure your application better when using GUIDTech/HWID The-One 0 1,441 06-03-2011, 08:56 AM
Last Post: The-One

Forum Jump:


Users browsing this thread: 2 Guest(s)