Solved

how to hide my .dll files from my project

Posted on 2013-01-28
3
1,155 Views
Last Modified: 2013-01-29
Hello

how i can hide my .dll files from my project to protect it from being used by others
0
Comment
Question by:mohammedokasha
3 Comments
 
LVL 23

Accepted Solution

by:
Michael74 earned 250 total points
ID: 38829579
If you are rolliong out the project then you could use IlMerge to fold the required dll's and the executable into one exe file.

ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and DLLs alike and comes with several options for controlling the processing and format of the output.
http://www.microsoft.com/en-au/download/details.aspx?id=17630

Michael
0
 
LVL 8

Assisted Solution

by:guvera
guvera earned 250 total points
ID: 38829995
To hide dll, you have couple of options :
 
         •Use ILMerge. ILMerge has a nice GUI interface that can be found in the below link
         http://ilmergegui.codeplex.com/


        •Embebed them as a resource, see this article for details.
       http://blogs.msdn.com/b/microsoft_press/archive/2010/02/03/jeffrey-richter-excerpt-2-from-clr-via-c-third-edition.aspx

Thanks
Guvera
0
 
LVL 4

Expert Comment

by:Srinivasulu Muppala
ID: 38832233
you could use CAS for assembly security.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to call weather service by using asmx? 4 45
tableview is not updating 1 22
defining NULL or 0 10 44
Coding for the first time 9 38
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question