Re: Anybody know anything about licensing?
From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 08/31/04
- Next message: Paul Roberts: "Re: Updating Notify Icon Question"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Reflection across assemblies not working"
- In reply to: Patty O'Dors: "Anybody know anything about licensing?"
- Next in thread: Patty O'Dors: "So, "no" then?"
- Reply: Patty O'Dors: "So, "no" then?"
- Reply: Toby Herring: "Re: Anybody know anything about licensing?"
- Messages sorted by: [ date ] [ thread ]
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?
- Next message: Paul Roberts: "Re: Updating Notify Icon Question"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Reflection across assemblies not working"
- In reply to: Patty O'Dors: "Anybody know anything about licensing?"
- Next in thread: Patty O'Dors: "So, "no" then?"
- Reply: Patty O'Dors: "So, "no" then?"
- Reply: Toby Herring: "Re: Anybody know anything about licensing?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|