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 

noob with q's

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
futhamucka



Joined: 30 Jun 2006
Posts: 1
Location: California

PostPosted: Fri Jun 30, 2006 4:05 pm    Post subject: noob with q's Reply with quote

Hey

I really like your licensing system (and the price).

Can your solution do the following (and a brief overview on how to would be great...)

I need evaluation for the product that stops working after x days, I think your EvaluationMonitor takes care of that part.

Next, I need to generate a key per order (planning on using shareit for now but moving to own servers at a later date). I need this key to have an expiration date (30 days of use) so that the user is forced to purchase a new license. What is the best strategy for this other than embedding a date in the product info. If no other solution, what can be done to prohibit turning back the system time to be within the 30 day key range? How do you embed the expire date when using shareit to do all the processing?

Can I just use the registry to store the key? I don't see any reason to use a file.

I know these questions are fairly basic but a) I have no experience livcensing applications in .net and b) I don't have much time to do so.

Please help me!

Justin
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Jul 01, 2006 12:28 am    Post subject: Reply with quote

Quote:
I need evaluation for the product that stops working after x days, I think your EvaluationMonitor takes care of that part.


Yes just use the EvaluationMonitor class - see the Sample Licensed Application project for an example of how to do this.

Quote:
Next, I need to generate a key per order (planning on using shareit for now but moving to own servers at a later date). I need this key to have an expiration date (30 days of use) so that the user is forced to purchase a new license. What is the best strategy for this other than embedding a date in the product info. If no other solution, what can be done to prohibit turning back the system time to be within the 30 day key range? How do you embed the expire date when using shareit to do all the processing?


You would probably have to embed a date of some kind in the product info. Otherwise what is to prevent the same key being used repeatedly to provide extensions to the time period. You could do this by recording some information about previously installed keys (eg largest serial number) on the computer somewhere - but this will be vulnerable to the user using file or registry monitoring tools to locate and reset the information. The evaluation monitor class has a mechanism for detecting clock winding - if it detects clock winding then the Invalid property of the class will be set to true. So you could simply check this. Of course like any method that relies on information stored on the users PC this is also vulnerable to tampering. In this case the user would not only have to find the information to reset but also run the computer at the wrong date which is probably disincentive enough.

Quote:
Can I just use the registry to store the key? I don't see any reason to use a file.

Yes you can handle loading and storing the license key yourself (from whereever you want) and then just use the ValidateLicenseKey method to verify and read the license info. See the Custom Licensed Application sample project for an example. It stores the license key as part of an XML configuration file.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support 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