Results 1 to 6 of 6

Thread: Computer ID

  1. #1
    cjohnson's Avatar
    cjohnson is offline VB.NET Forum Enthusiast
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Sep 2006
    Location
    WV
    Posts
    63
    Reputation
    129

    Computer ID

    Hi Everyone,
    I am writing a program that I want to copy-protect. I need to retrieve some kind of computer ID. I have read what I can on the net, but can not find a suitable solution. It does not need to be incredibly secure. The idea is that the program is not intended for advanced computer users, and needs to be protected from simple sharing. I am on a tight timeline, so any ideas would be greatly appreciated.
    Thanks,
    Chris

  2. #2
    BadgerByte's Avatar
    BadgerByte is offline VB.NET Forum Genius
    .NET Framework
    .NET 1.1 (VS 2003)
    Join Date
    Aug 2005
    Location
    Ipswich, UK
    Posts
    194
    Reputation
    145
    Hey cjohnson,

    We had to do something similar, I started by trying to obtain a computer specific fingerprint from serial etc.. We then got them to activate the product with a product key using a simple php script and mysql database online. However for simple sharing, I wouldn't worry about making the fingerprint computer hardware specific, just a permanent registry key (so it sticks around post uninstall) would do, make it a long random string.

  3. #3
    jwh
    jwh is offline VB.NET Forum Genius
    .NET Framework
    .NET 3.5 (VS 2008)
    Join Date
    Aug 2006
    Posts
    155
    Reputation
    141
    In the following post i outline a way of retrieving the windows key, which should be sufficient for your needs

    coa windows key
    There are 10 types of people in this world.... those who know binary, and those who don't.

  4. #4
    Geming Leader is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    May 2007
    Location
    Egypt
    Posts
    11
    Reputation
    121
    You can try the following code for retrieving Motherboard serial number:
    Code:
    Public Function GetMotherboardSerialNumber() As String Dim searcher As New System.Management.ManagementObjectSearcher("SELECT SerialNumber FROM Win32_BaseBoard") For Each obj As System.Management.ManagementObject In searcher.Get Return obj.Properties("SerialNumber").Value.ToString Next Return String.Empty
    End Function
    By the way, by changing the couple of "SerialNumber" to "Product", you can retrieve Motherboard name.

    -----------------------------------------------
    What doesn't kill you, makes you stronger!

  5. #5
    Jaow is offline VB.NET Forum Newbie
    .NET Framework
    .NET 1.1 (VS 2003)
    Join Date
    Feb 2009
    Posts
    2
    Reputation
    0

    Computer ID

    Hello,

    Well if you need to control and lock your application by computer, you can see Ionworx MachineID SDK here : Ionworx Machine ID - Hardware Identifier SDK for .NET / Win32

    It's easy and you can find some example to test it.

    Enjoy it!

    Regards,

  6. #6
    shaymaa is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Nov 2011
    Posts
    1
    Reputation
    0
    You can use Machine ID dll for dot net , its very good API .also it retrieve activation
    for machine ID, it works with x68,x64.
    It has a good feature let you have a different activation code for the same machine ID


    This is link for dll
    http://dllstore.net/.../MachineId.aspx

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •