Could someone please explain how the Intellilock online activation process works

331 views
Skip to first unread message

JD

unread,
Oct 19, 2009, 3:26:36 PM10/19/09
to .Net Reactor Support
Hi, i'm a bit stumbled on how the Intellilock online activation
process works.

I've created the online activation files through intellilock and the
database files work fine when i access them through http://localhost -
however at the moment i have to manually add the customer info etc..
to the database

What i'm stuck on is how my app integrates with these files?

Do i make an .asp webpage asking for the users details (name, email
etc..) and get this page to pass this info to some of the intellilock
activation files? If so which file should i pass this info to? Has
anyone got a working file they can attach or some helpful links

Thanks


oussema

unread,
Oct 20, 2009, 3:40:11 AM10/20/09
to net-react...@googlegroups.com
there are many ways...
if you have activated your intellilock license you can see an example.
because when the custemer buys your product with paypal for example
the customer will fill many informations you can get this informations.
after that when he achieves the process you can get his information to build a license file
you can generate the license file which is based on this informations.
you can give him a license file to start the app but the license file is not for unlock the app
after that he process for activation and he sends his information(HID)
in this step you will use a webservice or a asp web page to generate the valide license file based on HID

oussema

unread,
Oct 20, 2009, 3:41:59 AM10/20/09
to net-react...@googlegroups.com
but you have to know that this process is not the same generated by default you have to modify it
because you need to generate a hole kicense file not activation service which returns a small file of 17 bytes
you can use the sdk and you will find methods that generates license files

Denis

unread,
Oct 22, 2009, 9:39:09 PM10/22/09
to .Net Reactor Support
Hi,

As you probably know, via 'ASP.NET Management/Activation' you can
create a complete ASP.NET webpage for managing customers/sales/
products. There is also a file created called
'plimus_payment_notification.aspx'. This aspx file shows you how to
automatically add customer info etc.. to the database. Most payment
processors (like Plimus, PayPal or ShareIt) offer to call a defined
URL with parameters once a customer has purchased your product. This
is called "Instant Notification". Once
'plimus_payment_notification.aspx' is called, it extracts the
corresponding paramaters, adds a customer entry to the database,
creates the license file and send it via email to your customer.

Of course this is only one way. As oussema already mentioned there are
many other possible ways. Let me know what you want to do exactly and
I will help to accomplish it.

Thank you.

Denis

JD

unread,
Oct 25, 2009, 12:50:37 AM10/25/09
to .Net Reactor Support
Hi, thanks for the help - i've created an input form which when
submitted creates a valid license file which is emailed to the client
automatically.
To create the license the client enters their hardware ID in one of
the fields of my form aswell as the other main details (name etc..),
and all the info including the HardwareID is successfully saving into
the correct fields in the database.
However the license file isnt HardwareID_Enabled - how can i enabled
this in the license file creation?

This is the current code i'm using to create the license from the
plimus_payment_notification.aspx example

#region create license file
IntelliLock.LicenseManager.ProjectFile project_file = new
IntelliLock.LicenseManager.ProjectFile(il_prj_location);
project_file.LicenseInformation.Clear();
for (int i = 0; i < Request.Form.Keys.Count; i++)
{
project_file.LicenseInformation.Add(Request.Form.Keys[i],
Request.Form[Request.Form.Keys[i]]);
}
byte[] licensefile =
IntelliLock.LicenseManager.LicenseGenerator.CreateLicenseFile
(project_file);
#endregion

Denis

unread,
Oct 25, 2009, 4:07:44 PM10/25/09
to .Net Reactor Support
You could use code like this:

#region create license file
IntelliLock.LicenseManager.ProjectFile project_file = new
IntelliLock.LicenseManager.ProjectFile(il_prj_location);
project_file.LicenseInformation.Clear();
for (int i = 0; i < Request.Form.Keys.Count; i++)
{
project_file.LicenseInformation.Add(Request.Form.Keys[i],
Request.Form[Request.Form.Keys[i]]);
}
project_file.HardwareLock_Enabled = true;
project_file.Hardware_ID = "1234-1234-1234-1234-1234-1234";

JD

unread,
Oct 25, 2009, 8:30:09 PM10/25/09
to .Net Reactor Support
Smashing. Theres just 2 things i need to do

1. I want to implement the server validation in the license creation
e.g. project_file.servervalidation = true
Just not sure of how the validation code required including the path
of the activation server file

2. At the moment ALL of the fields inputted on the user request form
are added to the license which is fine. However i dont need all of
them included in the license, i only need Name, Email & zipcode, so i
can use the data from these fields for the splash screen e.g. This
software is licensed to: Name... and also the registration info on the
about box e.g. Licensed to: Name, Licensed Email: Email etc..

So i either need a way of just adding the fields i want from the
request form (Name,Email,Zip) or extracting these key value fields
from all of the fields when added to the license

The following code adds ALL of the Keys & Values from the request form
to the license - i'd prefer to just add the 3 fields i need (Name,
Email, Zipcode)

Denis

unread,
Oct 25, 2009, 9:41:48 PM10/25/09
to .Net Reactor Support
>>Just not sure of how the validation code required including the path of the activation server file<<

project_file.RequireLicenseServerValidation = true;
project_file.License_Server = "http://www.mydomain.com/
ActivationService.asmx";

>>... i'd prefer to just add the 3 fields i need (Name, Email, Zipcode) <<

string name = Request.Form["firstName"] + " " + Request.Form
["lastName"];
string email = Request.Form["email"];
string zipcode = Request.Form["zipCode"];

project_file.LicenseInformation.Add("name", name);
project_file.LicenseInformation.Add("email", email);
project_file.LicenseInformation.Add("zipcode", zipcode);

The request-form variables I used above are specific to Plimus. Other
payment processors may have different variables.

Greetings


JD

unread,
Oct 26, 2009, 9:09:37 PM10/26/09
to .Net Reactor Support
Cheers Denis - that worked perfectly
Reply all
Reply to author
Forward
0 new messages