. Net Reactor programming license options

605 views
Skip to first unread message

Bob B

unread,
May 4, 2011, 5:53:24 PM5/4/11
to .Net Reactor Support
Hi all,
I have a trial version of .Net Reactor and I am trying to test it
out using the sample license examination program that was included
with the download. It is working the way I would assume in most
cases. But I set up the sample program with an expiration date of
6/13/2011 and that is the only lock selected in the settings. I do
have the Nag screen enabled also. When I start the protected program
I get warning that the assembly is protected by an unregesterd version
of .Net Reator, that's true. Next I get the NAG screen that there are
no days left on the expiration date, not true. So next I loaded a
valid license with License.Status.LoadLicense("c:\License
\TEST.license") in the form_load. When I run this I get the same Nag
screen but the info for the license is correct when displayed in the
form.

So here are my questions. The license info doesn't exist if I run
the program a second time. (Trial Version?) Do you have to load the
license file each time the program starts with the
License.Status.LoadLicense? If so how does the program track usage
etc.? Should the NAG screen work. Does anyone have better
documentation?

Thanks,
Bob

Glen Harvy

unread,
May 4, 2011, 7:26:13 PM5/4/11
to net-react...@googlegroups.com
Hi Bob,

Whenever you run a protected assembly on your computer, .Net Reactor will record it's 'static' protection mechanism on your computer 'somewhere'. The location is naturally a closely guarded secret and may or may not be in the registry. I honestly don't know nor care. In future, there is nothing you can do to change the 'static' data recorded, nor amend it. I'm not even sure what data is in fact recorded.

The only way you can create a new test of the same assembly and change your protection setup is to change the Master Key. You can do that using the Licence Manager tab of your project. Unless you change the Master Key, .Net Reactor will use the original data to work out usage etc etc etc.

Is this the first time you have run the protected assembly on your computer? Is it possible you did run it sometime before with another setting that is now triggering the 'no days left' option?

To answer your specific question - No, you never have to load the  license unless of course you want to read it's contents and have your program do something accordingly. A good example is if you want to activate a feature for a specific client. Add a field to your licence that you read at load time and then enable that feature in your program if the field is set to say true.

Glen.

Bob B

unread,
May 4, 2011, 11:47:31 PM5/4/11
to .Net Reactor Support
Glen,
Thanks for the quick response. I did run it several times with
another setting. So that is triggering the 'no days left' option.

I'm still a bit confused. For instance if I create a new master
file with a 30 day trial and create a new assembly. I send this to my
customer and after the trial they want a registered version. So I go
into the licence manager not changing any settings and create a new
license with only the expiration date enabled. The expiration date is
5/4/2012. I also add a key that the program can use to select
options. Now does this new licence file need to be loaded everytime
the users program starts with License.Status.LoadLicense or is there a
different method?

One more question is there any way to run this in debug mode? I'm
using vs2010 with vb.net.

Thanks for your help,
Bob


On May 4, 7:26 pm, Glen Harvy <glenha...@gmail.com> wrote:
> Hi Bob,
> Whenever you run a protected assembly on your computer, .Net Reactor will record it's 'static' protection mechanism on your computer 'somewhere'. The location is naturally a closely guarded secret and may or may not be in the registry. I honestly don't know nor care. In future, there is nothing you can do to change the 'static' data recorded, nor amend it. I'm not even sure what data is in fact recorded.
> The only way you can create a new test of the same assemblyand change your protection setupis to change the Master Key. You can do that using the Licence Manager tab of your project. Unless you change the Master Key, .Net Reactor will use the original data to work out usage etc etc etc.

Glen Harvy

unread,
May 5, 2011, 2:21:10 AM5/5/11
to net-react...@googlegroups.com
The short answer is no.

The licence file just needs to be in a path that is findable by your
program It is normal to store it in the same directory as the program
itself.

You don't need to load anything in your program unless you have some
special reason to read the contents of the licence file.

I've never bothered running it in debug mode because I can't understand
how to do it :-)

Bob B

unread,
May 5, 2011, 10:38:30 AM5/5/11
to .Net Reactor Support
Glen,
Great help, I appreciate your explanations and now I'm on track.

Thanks for the help,
Bob
> > Bob- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages