CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,900

    License key for Application

    I have buolt an excellent licensing key system which works well on desktop pc's.

    Basically I run an algorythm on the Hard Disk Serial Number and the Customer Name

    While this is not totally brilliant, it seems to work really well (on desktop machines or machines with real hard disks)

    Now that we come to Tablet PC's, I have found that the Serial Number of the "DISK" which is normallyan SSD is the same from one machine to the next - so all unlock codes end up the same

    Any ideas on making a unique code for each machine I install my application on ?

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: License key for Application

    Even if there might be matters in retrieving serials, from hdd to cpu to motherboard, first try following suggestments listed here:
    http://social.msdn.microsoft.com/for...a-afff0b620156

    if ypu would try with different data to use as a check, like the processor serial (CPU serial) have a look at these threads:
    http://www.codeguru.com/forum/showthread.php?t=307205
    http://www.codeguru.com/forum/showthread.php?t=372498

    For motherboard serial look at:
    http://social.msdn.microsoft.com/For...-6843308f9e54/
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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