Solved

how to hide my .dll files from my project

Posted on 2013-01-28
3
1,033 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now