PDA

View Full Version : سوال: طرز کار برنامه CryptoLicensing Generator



pesare
پنج شنبه 17 مرداد 1392, 10:14 صبح
سلام دوستان

برنامه Cryptolicensing Generator برنامه ای برای قرار دادن License بر روی برنام هست , کسی طرز کارش رو میدونه؟

pesare
پنج شنبه 17 مرداد 1392, 13:07 عصر
کسی آموزش این نرم افزار رو داره؟

pesare
شنبه 19 مرداد 1392, 11:11 صبح
کسی نیست آموزش بده؟

ro3vayedel
سه شنبه 18 شهریور 1393, 14:58 عصر
اگر کسی پیدا بشه و آموزش بده عالی میشه...

NasimBamdad
سه شنبه 18 شهریور 1393, 16:54 عصر
برنامه اش رو قرار بدید تا تست کنم

Mojtaba0
سه شنبه 18 شهریور 1393, 18:40 عصر
به نظرم لایسنس نرم افزار رو خودتون با یه الگوریتمی اختصاصی چک کنید تا امکان کرک بیاد پایین.

NasimBamdad
سه شنبه 18 شهریور 1393, 21:45 عصر
نرم افزار خوبیه . دوست دارم تست اش کنم . بی زحمت قرار بدید

Mojtaba0
سه شنبه 18 شهریور 1393, 22:53 عصر
به نظرم لایسنس نرم افزار رو خودتون با یه الگوریتمی اختصاصی چک کنید تا امکان کرک بیاد پایین.

نظر من همینه.

ولی این لینک ورژن 2012:
http://soft98.ir/software/programming/3659-cryptolicensing.html

ro3vayedel
سه شنبه 18 شهریور 1393, 22:58 عصر
اینم از برنامه...

http://s5.picofile.com/file/8139865076/CryptoLicensing_2012_Build_621124.rar.html

Mojtaba0
سه شنبه 18 شهریور 1393, 22:58 عصر
نرم افزار های مشابه:

Eziriz IntelliLock

Enigma حفاظت کد و ساخت trial

ro3vayedel
چهارشنبه 19 شهریور 1393, 00:00 صبح
CryptoLicensing For .Net – License Your Software (http://www.dirkstrauss.com/reviewed/cryptolicensing)On 11 September, 2013 07:00:37, in Reviewed (http://www.dirkstrauss.com/category/reviewed), by Dirk Strauss




http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/crypto-license-lock.png?resize=100%2C128 (http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/crypto-license-lock.png)CryptoLicensing – In a previous article (http://www.dirkstrauss.com/reviewed/crypto-obfuscator) I talked about Crypto Obfuscator For .Net (http://www.ssware.com/cryptoobfuscator/obfuscator-net.htm) which obfuscates your source code allowing you to protect your intellectual property.As part of this first line of defense, you need to enable licensing in your commercially available software. CryptoLicensing from LogicNP Software is a very good and feature packed licensing tool.Enabling the logic in your code is really easy. Follow along with the code samples below.CryptoLicensing – Add License Valiation EasilyWhen you start CryptoLicensing (http://www.ssware.com/cryptolicensing/cryptolicensing_net.htm), you need to specify where to create a new License Project. This project you will never make publicly available and needs to be secured from prying eyes. You will generally treat this like you do your unobfuscated source code.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/0-crypto-license-create-license-project.png?resize=525%2C349 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/0-crypto-license-create-license-project.png)As a quick start, after saving your project, click on the ‘Project’ menu and select to get a validation key and code.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/1-crypto-license-get-validation-key-and-code.png?resize=531%2C180 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/1-crypto-license-get-validation-key-and-code.png)The validation key will be displayed to you in a separate window along with a bit of sample source code.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/2-crypto-license-validation-key-for-project.png?resize=573%2C402 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/2-crypto-license-validation-key-for-project.png)Heading over to Visual Studio, add a reference to the LogicNP.CryptoLicensing dll.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/3-crypto-license-add-reference.png?resize=544%2C321 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/3-crypto-license-add-reference.png)After adding it, you will see it available under your references in the solution explorer.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/4-crypto-license-reference-added.png?resize=279%2C327 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/4-crypto-license-reference-added.png)Next, add a new class called ‘LicenseValidation.cs’ to your project.http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/5-crypto-license-add-validation-class.png?resize=318%2C322 (http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/5-crypto-license-add-validation-class.png)In the new class, add a Validate method that uses the validation key provided by the CryptoLicensing application above. Allow the constructor to take the license code as parameter.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/6-crypto-license-code-sample.png?resize=534%2C434 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/6-crypto-license-code-sample.png)Moving back to the CryptoLicensng tool, you can see that every new CryptoLicensing project comes with two default profiles (Normal License or 30-day evaluation license). CryptoLicensing allows you to create multiple profiles and associate different settings for each profile. This allows you to quickly generate a license based on the specific profile you select. For this example,we’ll just use the default normal license.http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/7-crypto-license-license-types.png?resize=532%2C203 (http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/7-crypto-license-license-types.png)Click on the ‘Generate’ button.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/8-crypto-license-generate-license-code.png?resize=520%2C208 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/8-crypto-license-generate-license-code.png)This will generate as many codes for you as you specify in the codes count next to the ‘Generate’ button.http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/9-crypto-license-code-generated.png?resize=539%2C129 (http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/9-crypto-license-code-generated.png)These are the codes you will be giving to the users of your software.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/10-crypto-license-call-license-dll.png?resize=555%2C315 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/10-crypto-license-call-license-dll.png)In the Program.cs file of your application, you will generally read the user license from a file or an application setting or some other store. For the purposes of this example, I’ll just hard code it in the app. The static void main uses the license code provided by the user and validates this against the LicenseValidation class created earlier. If the license is valid, the application will run. If not, a warning message is displayed to the user.CryptoLicensing – Add License Features EasilySometimes you will activate certain features in your application, based on the license type you provide. For this example, let’s use the previously written weather forecast app and assume that there is an additional license that allows the user to view a five day forecast.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/11-crypto-license-features-rename.png?resize=241%2C219 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/11-crypto-license-features-rename.png)Select one of the feature slots available.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/12-crypto-license-rename-feature.png?resize=240%2C251 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/12-crypto-license-rename-feature.png)You can now rename the feature slot to make it easier to identify later on.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/13-crypto-license-featured-renamed.png?resize=220%2C192 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/13-crypto-license-featured-renamed.png)Select the new feature and generate a new license code.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/14-crypto-license-change-license-dll.png?resize=506%2C357 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/14-crypto-license-change-license-dll.png)Modify the LicenseValidation class we created earlier and create an enum for the feature types (This also makes the features more easily referenced). Move the CryptoLicense object outside the scope of the Validate method to make it visible to the rest of the class.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/15-crypto-license-add-feature-method.png?resize=518%2C162 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/15-crypto-license-add-feature-method.png)Add a new method to the LicenseValidation class that checks if the specific feature is present. This method will simply return a boolean value.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/16-crypto-license-enable-button.png?resize=457%2C146 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/16-crypto-license-enable-button.png)In the constructor of the main form, add a boolean parameter that will enable or disable the button that displays the five day forecast.http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/17-crypto-license-change-progrem-cs.png?resize=503%2C280 (http://i2.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/17-crypto-license-change-progrem-cs.png)In the Program.cs file, change the code slightly to pass the result from the ‘EnableFiveDayForecast’ method to the main form’s constructor.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/18-crypto-license-button-enabled.png?resize=486%2C267 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/18-crypto-license-button-enabled.png)Running the application with a license that includes the five day forecast functionality, you will notice that the button is enabled.http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/19-crypto-license-disable-feature.png?resize=227%2C192 (http://i0.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/19-crypto-license-disable-feature.png)Back in the CryptoLicensing tool, unselect the ’5 Day Forecast’ feature and generate a new user license code. Paste that in your Program.cs file and run your application again.http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/20-crypto-license-button-disabled.png?resize=470%2C226 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/20-crypto-license-button-disabled.png)This time you will see that the feature was not validated and the button is disabled. This example might be a bit granular for many applications, but I wanted to highlight this functionality specifically. I would generally just define a version of the software (Standard, Professional, Enterprise etc.) and enable or disable a collection of features at a time.CryptoLicensing – Other SettingsCryptoLicensing is truly a feature rich tool. You can specify the following:http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/crypto-license-settings-set-0.png?resize=228%2C384 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/crypto-license-settings-set-0.png)

The number of users in the license
Detection for date rollback
Detect if your software is running under a debugger or tracer
Detect and prevent your application from running in a remote desktop, terminal services or Citrix
Explicitly set the ID instead of letting CryptoLicense do it for you
Force an expiration date

http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/crypto-license-settings-set-1.png?resize=460%2C391 (http://i1.wp.com/www.dirkstrauss.com/wp-content/uploads/2013/09/crypto-license-settings-set-1.png)

Various settings for evaluation software
Specify a license that is locked to a specific machine
Specifies that the license requires activation via a license server

This is a tool that is definitely worth checking out. It is really easy to integrate with your existing software and provides excellent management of your licenses. To fully appreciate all the features of CryptoLicensing For .Net, download an evaluation (http://www.ssware.com/cryptolicensing/cryptolicensing_net.htm) copy and try it out for yourself.