Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Module Licensing and Trial versionsModule Licensing and Trial versions
Previous
 
Next
New Post
7/3/2006 7:40 AM
 
Hello,

My objective is to allow users to download a trial version of a module.

This should only work on Localhost (127.0.0.1) and be fully functional. I am not sure if I need to provide 2 different versions of a module or make use of license keys somehow.

I also may want to provide 2 different versions of a license – once for 1-10 portals, and one for unlimited.

Bearing these two requirements – what is the best way to go about it? I have seen some other modules that have trial versions that only work on Localhost – do you then unlock them somehow?

Do I have to use 3rd party code? I found these links – does anyone use them:

http://licenseleader.com/ll/Default.aspx
http://www.friendsoftware.ro/Produse/DNNModules/Alugen3NETdnn3xmodule/tabid/103/Default.aspx
http://www.activelocksoftware.com/

Your opinions/ideas please…


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/4/2006 3:32 AM
 
After playing around with some code I think I am going to use the core .NET Licensing framework with a .LIC file. I am having a few problems trying to get it to work on a User Control (can't seem to find my LIC file in the \bin dir - has anyone secured web pages / UCs with license files before?

I don't need the power of a more complex License component.


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/4/2006 1:32 PM
 

I've been thinking of the same.  I'm not familiar with the .NET tool - glad you asked so now I can research it.  I was thinking of a configuration key based on the machine key, tied into the module code, with a hashed date of install and an expiration based on that date.  Either that or they provide their machine key when downloading and the access string is hashed to include the start date and their machine key. 

Just some ideas. 

 
New Post
7/4/2006 3:42 PM
 

I just sent an email to the site below for details on how to implement in a DNN environment.  I also asked for a custom version to be developed specific to DNN.  Pricing for their current product is only $74.00 per deveoper.http://www.infralution.com/licensing.html

There is also a opensource project http://sourceforge.net/projects/net-lic-mgr
The have dropped support for asp.net 1.1 and have moved to 2.0.  No updates since FEB2006 though.  Each time I have read through the forums it is not really clear if this works or not.

mikez

 
New Post
7/4/2006 4:57 PM
 
Mikez-  that link you sent shows
ILS Single Developer License Visual Studio 2003 or 2005 $80

and $300 for the pack?

To be honest for what I need I think I can use the core .NET framework License framework. I've looked into it and there's not much info but here are the best articles out there.

I just can't get it to work in my ASP.NET 2.0 project! It's something to do with the location of the .LIC file - I assumed it would go in the \bin\ directory but it's not picking it up (I have tried to use the base LicenseManager.Validate on a User Control and then a custom web control with no luck on either!

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnetcontrollicensing.asp
http://www.windowsforms.net/articles/licensing.aspx
http://www.developer.com/net/csharp/article.php/10918_3074001_1

So all I am doing for now is putting this attribute above my custom web control class:
[LicenseProvider(typeof(LicFileLicenseProvider))]

and then in the OnPreRender I have
license = LicenseManager.Validate(typeof(SmartUserLink), this);

then my .LIC file is
SmartThinker.DNN.Modules.ModuleFramework.UI.SmartUserLink.LIC

where
SmartThinker.DNN.Modules.ModuleFramework.UI
is the namespace and
SmartUserLink is my class (Link control effectively).

Inside the .LIC file is:
SmartThinker.DNN.Modules.ModuleFramework.UI.SmartUserLink is a licensed component.

But it's not working:
A critical error has occurred.
An instance of type 'SmartThinker.DNN.Modules.ModuleFramework.UI.SmartUserLink' was being created, and a valid license could not be granted for the type 'SmartThinker.DNN.Modules.ModuleFramework.UI.SmartUserLink'. Please, contact the manufacturer of the component for more information.

*sigh*

Has anyone licensed a custom web control using .NET 2.0 Licensing?







Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Module Licensing and Trial versionsModule Licensing and Trial versions


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out