Solved

how to hide my .dll files from my project

Posted on 2013-01-28
3
1,235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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
Input parameteres to DragOver 2 58
VS2010 Build fails to install 14 102
Read top line from CSV file 14 60
Need a quick overview of Selenium testing 2 36
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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses

752 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