473,666 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application Licensing

Hi!

What's the easiest/best way to provide a licensing feature to an application?

We've developed an application that defaults to evaluation mode, but now need to achieve a method of licensing the application, preferably by entering some kind of unique string.

What are the options and products we should be looking at?

Thanks!
Nov 20 '05 #1
4 2819
"=?Utf-8?B?UGhpbCBLZWx seQ==?=" <Phil Ke***@discussio ns.microsoft.co m> wrote
in news:6F******** *************** ***********@mic rosoft.com:
What are the options and products we should be looking at?


Make sure you obfusticate your .NET code as it can be easily decompiled.

--
Lucas Tam (RE********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #2
* "=?Utf-8?B?UGhpbCBLZWx seQ==?=" <Phil Ke***@discussio ns.microsoft.co m> scripsit:
What's the easiest/best way to provide a licensing feature to an application?


<URL:http://msdn.microsoft. com/library/en-us/cpguide/html/cpconlicensingc omponentscontro ls.asp>
<URL:http://windowsforms.ne t/articles/Licensing.aspx>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #3
Hi Phil,

I wanted something relatively simple for me to do on the same lines. My
application was in a vertical market where the product was likely to be
passed around. I decided to go for MD5 encryption based on a number of
paramters incluidng the server name that the user supplied to me. I would
then generate a key that would match up to a key geneerated by my
application after looking for the relevant server name and other
information. This locked my application to the server, which is what I
wanted. I knew that my user base could not cahnge their server name due to
the main application that was running on it - this needed a set server name.
Hope that this helps.

Best wishes

Paul Bromley

"Phil Kelly" <Phil Ke***@discussio ns.microsoft.co m> wrote in message
news:6F******** *************** ***********@mic rosoft.com...
Hi!

What's the easiest/best way to provide a licensing feature to an application?
We've developed an application that defaults to evaluation mode, but now need to achieve a method of licensing the application, preferably by
entering some kind of unique string.
What are the options and products we should be looking at?

Thanks!

Nov 20 '05 #4
JMW
We, www.pinroe.com, will have a license generator online sometime this weekend.

Basically this is how it works. We generate a public/private key pair. If you are not familiar with this you can create a signature with the private key and verify the signature with the public key but not visa-versa. We generate the license in xml with the signature in plain sight because the public key is embeded into a assembly level custom attribute in your assembly. At run time the license tool verifies the signature contained in the xml file, which only you can generate because only you have the private key, against the public key in the assembly. The signature is based on the actual xml. So if the xml changes the signature does not match and thus the user is out of luck.

As long as you obsfucate your assembly your component is safe. Well...as safe as your private key! (If you do not obsfucate then it is possible for someone to decompile and either take out the licensing stuff totally or to embed their own public key).

Source code will be available for this tool. We have one more tool, a CSLA builder, on line now and are in the process of putting more online.

jason.
"Phil Kelly" wrote:
Hi!

What's the easiest/best way to provide a licensing feature to an application?

We've developed an application that defaults to evaluation mode, but now need to achieve a method of licensing the application, preferably by entering some kind of unique string.

What are the options and products we should be looking at?

Thanks!

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2455
by: nospam | last post by:
Once Yukon is released (whenever that might be) does anyone from MS have any comment on licensing for Yukon and on SQL 2000. I really don't think anyone with SQL 2000 licenses are going to upgrade because the database admin or even the developer is going to convince management it's worth the cost regardless if SQL server can do C# or VB.NET stored procedures. This is because the performance is terrible and Oracle has had Java stored...
1
1434
by: Steve Randall | last post by:
I am looking for the best way to implement application licensing for a new commercial product developed using .NET technologies. If I sell the product with a 5 user license then I need to be able to manage and enforce this. Since the main exe will be located on a server, can you detect the number of users 'connected' to this exe? or is there another way? I also need to prevent the same user running the exe more than once, even if it on a...
5
1612
by: Chris | last post by:
I am trying to create licensing functionality in a .NET application. When the software is licensed then I want it to store this fact somewhere on the user's computer, this way the next time the program is run it will know it is licensed. Does windows provide a secure store for applications to put data such as this? It seems to me that windows could easily provide a store class that would store data in an os protected location...
1
1481
by: Kyle Abbott via .NET 247 | last post by:
I am about to start selling a new .NET Windows application but I am having a hard time deciding how to control licensing. The application will be sold on a per machine basis. So someone can buy 20 copies and install it on 20 computers. The application uses webservices and I would like the application to check if it is authorized to run via a webservice each time it starts. KA ----------------------- Posted by a user from .NET 247...
2
2570
by: JezB | last post by:
I have a windows application that I'd like to sell eventually. What's the simplest way to provide a secure licensing mechanism ? I'd prefer to have a licence key that can't simply be distributed across the pirate community (eg. astalavista) that will then work on any pc, so I was thinking of somehow tying it to the machine (some unique ID like the NIC number, but I realise some computers without a network card don't have one!). I'd need to...
9
1318
by: Arjen | last post by:
Hello, I have made an ASP.NET web application. Is there a way to create something that the ASP.NET web application only works till a given date. If it is the given date the ASP.NET web application may not work any more. This must be placed in the *.dll file so nobody can use it any more. How can I do this?
11
10103
by: ML | last post by:
Does anyone have any info on sample code for handling activation/licensing for a vb.net app? Just looking for something fairly basic to implement the ability to have an application registered and tied to a specific single PC to help reduce possible piracy. Something where the user would install the app and then send a code via email or phone to the seller who would in turn generate a code to fully unlock the program.
1
1194
by: Matt | last post by:
Hi, I am writing a web appplication that will use a global licensing paradigm. For every instance of the server I want to check the licensing requirements i.e the application in a global context. I've read that using the Application_Startup event in HttpApplication class is useless because an application does not map to an instance of the webapp - i.e that method could be called more than once as more httpApplication instances are...
0
1461
by: comcraft1966 | last post by:
I recently delivered an application to a new client, who is very happy with the work. The client has asked me to develop several country specific versions of this application. These are not language versions, everything will still be in English, the only difference is a couple of simple and very minor cosmetic tweaks. I billed around £6,000 for the original application. The work for the new versions is minimal. I have never got in to...
0
8445
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8640
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.