Solved

how to hide my .dll files from my project

Posted on 2013-01-28
3
1,302 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:
Michael Fowler 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

615 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