Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can I lock licenses to Hard Disk ID or MAC address?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Infralution Support Forum Index -> Licensing FAQ
View previous topic :: View next topic  
Author Message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Oct 01, 2008 10:57 pm    Post subject: Can I lock licenses to Hard Disk ID or MAC address? Reply with quote

By default AuthenticatedLicenses are locked to the name of the computer on which they are installed. This means that the user is able to change hardware, reinstall their operating system or even install a new operating system without invalidating their license. Since most users would be unwilling (or unable when the machines are in a network) to change the computer name to match a license key it also provides a good deterrent to key sharing. See How is Authentication different to other Activation schemes? for more information.

You can however easily change this behaviour so that licenses are locked instead to some other hardware characteristics (eg Hard Disk ID or MAC address). To change the behaviour simply derive a new class from AuthenticatedLicenseProvider and override the GetComputerID method to return a string based on the characteristics you want to lock to.

If you want to lock to several different hardware components you can return a string composed of the each of them. You can then override the IsThisComputer method to check that at least one of the components still matches. This would provide some resilience to hardware changes.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Infralution Support Forum Index -> Licensing FAQ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group