473,395 Members | 1,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Application Activation/Licensing Sample?

ML
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.
Nov 20 '05 #1
11 10080
* "ML" <ml@schoonersolutions.com> scripsit:
Does anyone have any info on sample code for handling activation/licensing
for a vb.net app?


<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconlicensingcomponentscontrols.asp>
<URL:http://windowsforms.net/articles/Licensing.aspx>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
ML
That is targeted at control licenses for use in VS is it not?
I am looking for something to handle the actual activation and licensing on
an end user application.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
* "ML" <ml@schoonersolutions.com> scripsit:
Does anyone have any info on sample code for handling activation/licensing for a vb.net app?

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp
onentscontrols.asp> <URL:http://windowsforms.net/articles/Licensing.aspx>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3
You can use it the same way.

"ML" <ml@schoonersolutions.com> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
That is targeted at control licenses for use in VS is it not?
I am looking for something to handle the actual activation and licensing on an end user application.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
* "ML" <ml@schoonersolutions.com> scripsit:
Does anyone have any info on sample code for handling activation/licensing for a vb.net app?

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp onentscontrols.asp>
<URL:http://windowsforms.net/articles/Licensing.aspx>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Nov 20 '05 #4
ML
I guess I am missing how it can be used that way and how it relates to
activation and registration tied to a specific PC. Are there any samples on
using it this way?

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:O4*************@TK2MSFTNGP11.phx.gbl...
You can use it the same way.

"ML" <ml@schoonersolutions.com> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
That is targeted at control licenses for use in VS is it not?
I am looking for something to handle the actual activation and licensing

on
an end user application.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
* "ML" <ml@schoonersolutions.com> scripsit:
> Does anyone have any info on sample code for handling

activation/licensing
> for a vb.net app?

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp
onentscontrols.asp>
<URL:http://windowsforms.net/articles/Licensing.aspx>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



Nov 20 '05 #5
The LicenseProvider (and subsequent license classes) are applied as
attributes to classes. Their chief role is to instantiate when the class
they protect has been created and try to determine if a file is there (the
license file) and then allow the license provider class (that you write) to
open it, use whatever is inside to validate the running mode somehow and
then either throw a license exception to stop execution or to allow the
class to be created.

There is really no reason why this cannot be used to license an application
instead of a class or component.

It took me quite a while to get my head around the LicenseProvider class but
once you get a hang of how it works it is really basic.

I am working on a complete licensing system right now so I don't have a
complete set of code to send you but find yourself a good example and dig
into it. I suggest the CD that comes with Programming with VisualBasic (ISBN
0-7356-2059-8). There is an EXCELLENT example of hoe to use the
LicenseProvider. I had found several examples on the web and none of them
worked well. This one was good the first time and helped my understanding in
a MAJOR way.
"ML" <ml@schoonersolutions.com> wrote in message
news:#1*************@tk2msftngp13.phx.gbl...
I guess I am missing how it can be used that way and how it relates to
activation and registration tied to a specific PC. Are there any samples on using it this way?

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:O4*************@TK2MSFTNGP11.phx.gbl...
You can use it the same way.

"ML" <ml@schoonersolutions.com> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
That is targeted at control licenses for use in VS is it not?
I am looking for something to handle the actual activation and licensing
on
an end user application.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
> * "ML" <ml@schoonersolutions.com> scripsit:
> > Does anyone have any info on sample code for handling
activation/licensing
> > for a vb.net app?
>
>

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp onentscontrols.asp>
> <URL:http://windowsforms.net/articles/Licensing.aspx>
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>



Nov 20 '05 #6
Here is an example that I have found (that includes some source) to show you
how to license an application.

http://www.codeguru.com/columns/Expe...int.php/c5469/
"ML" <ml@schoonersolutions.com> wrote in message
news:#1*************@tk2msftngp13.phx.gbl...
I guess I am missing how it can be used that way and how it relates to
activation and registration tied to a specific PC. Are there any samples on using it this way?

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:O4*************@TK2MSFTNGP11.phx.gbl...
You can use it the same way.

"ML" <ml@schoonersolutions.com> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
That is targeted at control licenses for use in VS is it not?
I am looking for something to handle the actual activation and licensing
on
an end user application.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
> * "ML" <ml@schoonersolutions.com> scripsit:
> > Does anyone have any info on sample code for handling
activation/licensing
> > for a vb.net app?
>
>

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp onentscontrols.asp>
> <URL:http://windowsforms.net/articles/Licensing.aspx>
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>



Nov 20 '05 #7
ML
Thanks for all the replies. I'll give it a look.
With an issue as important to software developers as licensing you would
think more samples would exist.

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Here is an example that I have found (that includes some source) to show you how to license an application.

http://www.codeguru.com/columns/Expe...int.php/c5469/
"ML" <ml@schoonersolutions.com> wrote in message
news:#1*************@tk2msftngp13.phx.gbl...
I guess I am missing how it can be used that way and how it relates to
activation and registration tied to a specific PC. Are there any samples
on
using it this way?

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:O4*************@TK2MSFTNGP11.phx.gbl...
You can use it the same way.

"ML" <ml@schoonersolutions.com> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
> That is targeted at control licenses for use in VS is it not?
> I am looking for something to handle the actual activation and

licensing on
> an end user application.
>
> "Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message > news:%2***************@tk2msftngp13.phx.gbl...
> > * "ML" <ml@schoonersolutions.com> scripsit:
> > > Does anyone have any info on sample code for handling
> activation/licensing
> > > for a vb.net app?
> >
> >
>

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp
> onentscontrols.asp>
> > <URL:http://windowsforms.net/articles/Licensing.aspx>
> >
> > --
> > Herfried K. Wagner [MVP]
> > <URL:http://dotnet.mvps.org/>
>
>



Nov 20 '05 #8
ML
Has anyone used Aspose.License?

"ML" <ml@schoonersolutions.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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.

Nov 20 '05 #9
I hear you!

That is exactly what I thought!
"ML" <ml@schoonersolutions.com> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...
Thanks for all the replies. I'll give it a look.
With an issue as important to software developers as licensing you would
think more samples would exist.

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Here is an example that I have found (that includes some source) to show

you
how to license an application.

http://www.codeguru.com/columns/Expe...int.php/c5469/
"ML" <ml@schoonersolutions.com> wrote in message
news:#1*************@tk2msftngp13.phx.gbl...
I guess I am missing how it can be used that way and how it relates to
activation and registration tied to a specific PC. Are there any samples
on
using it this way?

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message news:O4*************@TK2MSFTNGP11.phx.gbl...
> You can use it the same way.
>
> "ML" <ml@schoonersolutions.com> wrote in message
> news:Ol**************@TK2MSFTNGP12.phx.gbl...
> > That is targeted at control licenses for use in VS is it not?
> > I am looking for something to handle the actual activation and

licensing
> on
> > an end user application.
> >
> > "Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in

message > > news:%2***************@tk2msftngp13.phx.gbl...
> > > * "ML" <ml@schoonersolutions.com> scripsit:
> > > > Does anyone have any info on sample code for handling
> > activation/licensing
> > > > for a vb.net app?
> > >
> > >
> >
>

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp
> > onentscontrols.asp>
> > > <URL:http://windowsforms.net/articles/Licensing.aspx>
> > >
> > > --
> > > Herfried K. Wagner [MVP]
> > > <URL:http://dotnet.mvps.org/>
> >
> >
>
>



Nov 20 '05 #10
Hi,

Do you mean the Aspose.License in the website: http://www.aspose.com/?

If so, I think you may try to post the question in the forum to see if that
will help you?
http://www.aspose.com/forums/Default.aspx

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '05 #11
ML
Yes that is what I was referring too. Not looking for help with it, looking
for opinions on it.
Posting in their forum would be less unbiased I would suspect. Just looking
for general feedback on it.

""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:e7**************@cpmsftngxa06.phx.gbl...
Hi,

Do you mean the Aspose.License in the website: http://www.aspose.com/?

If so, I think you may try to post the question in the forum to see if that will help you?
http://www.aspose.com/forums/Default.aspx

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '05 #12

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

Similar topics

1
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...
5
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...
75
by: Massimo | last post by:
I'm planning to develop a .NET application using C#, in order to sell it as a shareware and/or as a full package, so I'll need a good way to protect it against piracy. I know some ways to protect...
1
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...
30
by: (Pete Cresswell) | last post by:
Just fired it up to see what it looked like. They wanted me to "Activate" the product before the 50th use. Geeze, I paid my money....now they want me to jump through their hoops? Brings back...
11
by: Paul Aspinall | last post by:
Hi Can anyone offer any hints / tips for creating registration keys / application activation, as software copy protection measures for a Winform app developed in C#? Thanks
7
by: Bobby C. | last post by:
My company is in the process of getting ready (well actually QTR 2 2004) to roll out a rewritten version of a vertical market application for the municipal market (small and medium sized cities). ...
6
by: Tull Clancey | last post by:
Hi all, hope someone can help point me in the right direction, or maybe just have a chat about the following. Being a bespoke developer I have played about with piracy problems in the past. ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.