Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    steph777's Avatar
    Join Date
    Aug 2010
    Gender
    female
    Location
    Melbourne, Australia
    Posts
    377
    Reputation
    8
    Thanks
    165
    My Mood
    Amused

    Cool [TUT][VB.NET] Hardware ID Registration

    1:
    First get a website you can host two files on, like 000webhos*****m.
    2:
    This is a VB.net code, make sure you have add reference to System.Management.dll
    Code:
    Imports System.Management
    Imports System.Net
    
    Public Class Form1
        Public cpuInfo As String = String.Empty
        Public hwid As String = cpuInfo
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim wr As New WebClient
    
            Dim mc As New ManagementClass("win32_processor")
            Dim moc As ManagementObjectCollection = mc.GetInstances()
    
            For Each mo As ManagementObject In moc
                If cpuInfo = "" Then
                    cpuInfo = mo.Properties("processorID").Value.ToString()
                    Exit For
                End If
            Next
            hwid = cpuInfo
            Dim url = wr.DownloadString("https://YOURWEBSITE.com/HID3.php?id=" & hwid)
            Dim parts = Split(url, "|", , CompareMethod.Text)
    
            If Not parts(0) = "OK" Then
                MsgBox("Bad HWID verification, application will close")
                Application.Exit()
            End If
            wr.Dispose()
        End Sub
    End Class
    Now you got a application to check if your hardware id is registered!

    3:
    Lets do some PHP programming.
    <?php

    if ($_GET['id'] != ''){
    $puntero = fopen('HID3.txt', 'r');
    while(!feof($puntero)){
    $base = explode('|', fgets($puntero));
    if($base[0] == $_GET['id']){
    fclose($puntero);
    $checksum = 0;
    for ($i=24; $i<35; $i++) {
    $checksum += $_GET['id']{$i} * $i;
    }
    echo 'OK|'.$base[1].'|'.$checksum;
    exit;
    }
    }
    fclose($puntero);
    echo "<error>ERROR</error>";
    }else{
    echo "<error>ERROR</error>";
    }

    ?>


    Create a new php-file and paste this in and save it as: HID3.php

    4:
    Create a textfile and paste this in:
    Code:
    HWID|Member| Comment.
    Save it as: HID3.txt and upload to your website.

    If you want to add more hardware id's to textfile do this:
    Code:
    HWID|Member| Comment.
    HWID|Member| Comment.
    HWID|Member| Comment.
    Just add more lines below each other!

    To get your hardware id, use this vb.net code
    Code:
    Imports System.Management
    
    
            Dim cpuInfo As String = String.Empty
            Dim mc As New ManagementClass("win32_processor")
            Dim moc As ManagementObjectCollection = mc.GetInstances()
    
            For Each mo As ManagementObject In moc
                If cpuInfo = "" Then
                    cpuInfo = mo.Properties("processorID").Value.ToString()
                    Exit For
                End If
            Next
    
            TextBox1.Text = cpuInfo
    Credits:
    ColdIce
    Me

    Have Fun!

  2. The Following User Says Thank You to steph777 For This Useful Post:

    zwembadsniper (04-28-2016)

  3. #2
    Julma Henri's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,528
    Reputation
    205
    Thanks
    775
    My Mood
    In Love
    What this actually does ?
    Help me get donator.



    Want to become part of Editor Force? Click the tag below and apply now !

  4. #3
    steph777's Avatar
    Join Date
    Aug 2010
    Gender
    female
    Location
    Melbourne, Australia
    Posts
    377
    Reputation
    8
    Thanks
    165
    My Mood
    Amused
    Quote Originally Posted by iSuckX View Post
    What this actually does ?
    Read the whole thing and you'll find out.

  5. #4
    Julma Henri's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,528
    Reputation
    205
    Thanks
    775
    My Mood
    In Love
    Quote Originally Posted by steph777 View Post
    Read the whole thing and you'll find out.
    Okay .
    Help me get donator.



    Want to become part of Editor Force? Click the tag below and apply now !

  6. #5
    Melodia's Avatar
    Join Date
    Dec 2009
    Gender
    female
    Posts
    2,608
    Reputation
    276
    Thanks
    1,662
    My Mood
    Dead
    Yay, VBCrap and PHP useless Leeching in the Coders Lounge.

    And I said I had faith in this section.
    At least post it in VBThing or just don't post useless leeched thingies that aren't constructive at all for development oe anything, just basic knowledge on fugly .Net ; My Opinion.
    Love You All~

  7. The Following User Says Thank You to Melodia For This Useful Post:

    why06 (10-26-2010)

  8. #6
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Shoo, wrong section you !

  9. #7
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by Melodia View Post
    Yay, VBCrap and PHP useless Leeching in the Coders Lounge.

    And I said I had faith in this section.
    At least post it in VBThing or just don't post useless leeched thingies that aren't constructive at all for development oe anything, just basic knowledge on fugly .Net ; My Opinion.
    Lol, hates .NET to the max !!

  10. #8
    Melodia's Avatar
    Join Date
    Dec 2009
    Gender
    female
    Posts
    2,608
    Reputation
    276
    Thanks
    1,662
    My Mood
    Dead
    Quote Originally Posted by Xscapism View Post


    Lol, hates .NET to the max !!
    Some controls, methods, crap and stuff are useful, Whole thing is Micrapsoft renaming things and making a thing dependant of more crap and Virtualization, Dunnlike.
    Last edited by Melodia; 10-26-2010 at 01:50 AM. Reason: Missing Word Lawl.
    Love You All~

  11. #9
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by Melodia View Post
    Some controls, methods, crap and stuff are useful, Whole thing is Micrapsoft renaming things and making a thing dependant of more crap and Virtualization, Dunnlike.
    Useful is useful, but agree with the dependency thing tho !!

  12. #10
    steph777's Avatar
    Join Date
    Aug 2010
    Gender
    female
    Location
    Melbourne, Australia
    Posts
    377
    Reputation
    8
    Thanks
    165
    My Mood
    Amused
    Quote Originally Posted by Xscapism View Post


    Useful is useful, but agree with the dependency thing tho !!
    Yay i'm useful for something

  13. #11
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by steph777 View Post
    Yay i'm useful for something
    I was talking to mel. You should just GTFO with your useless tutorials. Post them in appropriate sections FFS !!!

  14. #12
    steph777's Avatar
    Join Date
    Aug 2010
    Gender
    female
    Location
    Melbourne, Australia
    Posts
    377
    Reputation
    8
    Thanks
    165
    My Mood
    Amused
    Quote Originally Posted by Xscapism View Post

    I was talking to mel. You should just GTFO with your useless tutorials. Post them in appropriate sections FFS !!!
    Now i'm not useful for nothin

  15. #13
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by steph777 View Post
    Now i'm not useful for nothin
    We just requesting that post your leeched tutorials to tutorials section !!! You can be useful if you post there !!

  16. #14
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Daaaum, wrong section. Didn't you see a section called 'Visual Basic' or 'Tutorials' while scrolling down here?

  17. The Following User Says Thank You to Void For This Useful Post:

    why06 (10-26-2010)

  18. #15
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Quote Originally Posted by steph777 View Post
    Now i'm not useful for nothin
    It's not a big deal since you prbly weren't useful for much anyway. Look at it this way. Now you went from being not useful to a slight nuisance.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

Page 1 of 2 12 LastLast

Similar Threads

  1. [TUT] VB.net DirectX [TUT]
    By XGelite in forum Visual Basic Programming
    Replies: 19
    Last Post: 03-14-2010, 01:30 PM
  2. Tut How To Set Up Mpgh.Net Publics
    By Cheesesong in forum CrossFire Hacks & Cheats
    Replies: 10
    Last Post: 07-28-2009, 10:12 AM
  3. *Updated* Nexon Registration Tut 2/10/08
    By Hispiforce in forum WarRock Korea Hacks
    Replies: 265
    Last Post: 06-09-2009, 06:09 AM
  4. [TUT]Unban Hardware ban!!!
    By xxpagxx in forum WarRock - International Hacks
    Replies: 76
    Last Post: 05-20-2007, 10:34 AM
  5. [Tut] unban hardware, second method
    By bagpiperdude90 in forum WarRock - International Hacks
    Replies: 7
    Last Post: 04-19-2007, 11:53 AM