Re: Anybody know anything about licensing?
From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: Tue, 31 Aug 2004 18:52:56 -0400
"Patty O'Dors" <PattyODors@discussions.microsoft.com> wrote in message
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
didn't work - it always returned the same error "LC0003 - Unabled to
type 'MyAssemblyName.MyTypeName, MyAssemblyName.DLL'" (sic.) So this is my
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?