Private Dll
Hi, sorry for my poor english, its there any way to make a DLL that only work whit my App, I mean, not to share te classes in the dll with other App more than the one I decide?.
Thanks in advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend3days leftRegister
shivendra43 pointsPosted Jul 19, 2005, 10:58 PM EDT
I need It.I am Working In a Project Where It Is REquired
Daniel Torres 011 pointsPosted Jul 21, 2005, 10:25 AM EDT
Mahesh ChandRank #1 · 393.4K pointsPosted Jul 21, 2005, 11:33 AM EDT
provide an access key or something. When you create an instance of the class, it would require a
key in construction to authenticate the client. Since your application will only know they key, no body else
would be able to call your DLL.
FYI: In .NET there are two types of DLLs - Private and shared.
A private dll is used by one application only. If another application wants to use that dll, it will have
its own copy of that dll. So if there are 10 applications wants to use same dll, there will be 10 copies
of dlls.
A public dll is a single copy of dll shared by multiple application by putting dll into GAC or some
common place.
Daniel Torres 011 pointsPosted Jul 21, 2005, 4:34 PM EDT