Re: Anybody know anything about licensing?

From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 09/01/04


Date: Tue, 31 Aug 2004 18:52:56 -0400

Hi,

http://windowsforms.net/articles/Licensing.aspx

Ken
---------------
"Patty O'Dors" <PattyODors@discussions.microsoft.com> wrote in message
news:30D77A39-2BA2-4069-9D52-83A0D0B4FFC7@microsoft.com...
Hi
I want to "license" a control so that it can only be used in the context of
my application. I looked into going down the route of using the
[LicenseProvider("LicFileLicenseProvider")] attribute, and then to compile a
license file using lc.exe and embed the resulting into my application.
Sounded good, until I couldn't get lc.exe to work with any combination of
options (not that there are many). Everything I could think of in the
documentation at
ms-help://MS.MSDNQTR.2003FEB.1033/cptools/html/cpgrflicensecompilerlcexe.htm
didn't work - it always returned the same error "LC0003 - Unabled to
resolve
type 'MyAssemblyName.MyTypeName, MyAssemblyName.DLL'" (sic.) So this is my
first issue.

My second issue is this - the above process apparently prevents someone
using my control in the "design time" environment. But what exactly IS the
design time environment and more importantly how is it defined ? Especially
for somebody who uses notepad and command line compilers - there is no IDE.
In VB6 (which is my background) - you couldn't compile a project into an
executable without having the vb6.exe IDE hosting it in an active project
first, this was design mode. There was NO other way of making an EXE than
with the IDE. But .NET seemingly doesn't have this, as it compiles an .exe
everytime it debugs...
Also, what's to stop somebody else who wants to use my control in their own
project using their own lc.exe on my DLL file in exactly the same way I've
done, thus enabling them to use it?



Relevant Pages

  • Re: Anybody know anything about licensing?
    ... license file using lc.exe and embed the resulting into my application. ... using my control in the "design time" environment. ... for somebody who uses notepad and command line compilers - there is no IDE. ... In VB6 - you couldn't compile a project into an ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Anybody know anything about licensing?
    ... license file using lc.exe and embed the resulting into my application. ... using my control in the "design time" environment. ... for somebody who uses notepad and command line compilers - there is no IDE. ... In VB6 - you couldn't compile a project into an ...
    (microsoft.public.dotnet.languages.vb)
  • Question on licensing
    ... license file using lc.exe and embed the resulting into my application. ... using my control in the "design time" environment. ... for somebody who uses notepad and command line compilers - there is no IDE. ... In VB6 - you couldn't compile a project into an ...
    (microsoft.public.dotnet.languages.csharp)
  • Anybody know anything about licensing?
    ... license file using lc.exe and embed the resulting into my application. ... using my control in the "design time" environment. ... for somebody who uses notepad and command line compilers - there is no IDE. ... In VB6 - you couldn't compile a project into an ...
    (microsoft.public.dotnet.languages.csharp)
  • Anybody know anything about licensing?
    ... license file using lc.exe and embed the resulting into my application. ... using my control in the "design time" environment. ... for somebody who uses notepad and command line compilers - there is no IDE. ... In VB6 - you couldn't compile a project into an ...
    (microsoft.public.dotnet.languages.vb)