License & Validity period

License & Validity period

Anonymous
Not applicable
2,261 Views
9 Replies
Message 1 of 10

License & Validity period

Anonymous
Not applicable

I have created some AutoCAD commands, they are really very convenient and powerful, I want to protect my labor, so I think there are two solutions can solve this problem.


1, License registration mechanism, I do not want to anyone can use them just copy to any computer.
2, Validity period, after a period of time, it couldn’t continue to use.


But I don’t know how to achieve the above effects for AutoCAD custom program, maybe there are some ready-made solutions?


I need help, any help much appreciate, very thanks.

0 Likes
2,262 Views
9 Replies
Replies (9)
Message 2 of 10

Matti72
Advocate
Advocate

Did you thought about the Autodesk App Store?

 

There you have an entitlement api with which you can copy protect your apps.....

 

http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=24243607

 

This would be a ready made solution.

0 Likes
Message 3 of 10

Keith.Brown
Advisor
Advisor
Accepted solution

I use CryptoLicense.  It comes with the source code for a .net activation server that you can use to automatically send the user an activation code once they purchase the plugin from the autodesk store.

 

 

 

Message 4 of 10

Anonymous
Not applicable

No, the company hasn’t connect the Internet, and the program create by me is very special, it’s only use to a particular workflow, it doesn’t feel easy to use the AutoCAD App Store.
I hope to have a simple and effective way to achieve what I said function, maybe some existing code is ok, I can have a try.

0 Likes
Message 5 of 10

Anonymous
Not applicable
I can't use the AutoCAD App Store.
0 Likes
Message 6 of 10

Keith.Brown
Advisor
Advisor
Accepted solution

Crypto license doesn't need the Internet nor does it need the App Store.  It does however work well with them.

0 Likes
Message 7 of 10

Anonymous
Not applicable
Accepted solution

Thanks, Keith.Brown,
The CryptoLicensing is a professional software, it’s very good, but it’s too professional for me, I just wrote dozens of commonly used commands, the company did not give me anything in return, then I have to pay to buy a software to protect my little program?
Besides, I'm not an American, but need to pay in dollars, I think I felt very troublesome. Forget it, I'm going to write some simple code to implement valid,
Thank you so much for your help

0 Likes
Message 8 of 10

_gile
Consultant
Consultant
Accepted solution

Hi,

 

The simplest way should be storing the first use date (DataTime) somewhere on the machine (registry, external file) and compare this date with the actual date each time you application is loaded.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 9 of 10

Anonymous
Not applicable
Accepted solution

Yes, this is the simplest way, so I am plan to use SQLCeDatabase, because of it has a password, but if each command need to access the database will cost much time, so I want to find a temporary variable like system variable as my new post mentioned, then check the date one time when automatically loaded, then set the temporary variable, then each command check validate by this variable.
But, now it led to a new porblem about automatically loaded. you can find in me new post.

0 Likes
Message 10 of 10

yoitsarun
Advocate
Advocate

could anyone explain this more?, and this link is not working now.

0 Likes