CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Posts
    1

    Create a license

    Hi,
    I would like to create licenses for my code. I implemented a method which uses the MACaddress of the network card as a key. This works quite well but is a bit restrictive (you can't use the software unless you have a network card). Are there any other numbers I should be using, and how do I access them through VB (eg Windows license number?) Thanks for your help!


  2. #2
    Join Date
    Apr 2001
    Location
    UK
    Posts
    24

    Re: Create a license

    one of the best codes to use for software security is the BIOS or hard disk serial number. and when i say the hard disk serial number i mean the hardware one (not the one that a partition gets when it is formatted). The only problem with using these as microsoft found out recently, it doesnt go down very well with customers who upgrade their computers alot. Like me, LOL.

    Getting the Bios serial number seems to be one of those things your just not meant to do though, i can find any documentation on it and i have only found one person so far who knows and he doesnt want to tell anyone. There are also rumours that this serial number may change if a bios is upgraded (Flashed).

    Using the MAC address is quite a good idea, but as you said not everyone has or wants a network card.

    You could use the Microsoft Windows Product Code, im not sure if this changes when you reinstall though.

    Grant French
    [email protected]


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured