Skip to Main Content
Visual Studio Hacks
book

Visual Studio Hacks

by James Avery
March 2005
Intermediate to advanced content levelIntermediate to advanced
304 pages
19h 23m
English
O'Reilly Media, Inc.
Content preview from Visual Studio Hacks
Obfuscate Your Code #80
Chapter 10, Work with Visual Studio Tools
|
349
HACK
3. Click the Trigger tab and notice that nothing is there. Now click
Browse, search for your assembly, and click Open. You’ll see that your
assembly has been added to the Dotfuscator Project.
4. Click the Build tab. For the Destination Directory, click Browse, search
for the directory where you want to place the obfuscated assembly, and
click OK. Be sure this directory is not the same directory where the
Debug assembly is placed.
5. Click File
Save Project (Ctrl-S). Browse to the location where you
want the XML file saved, give it a name, and click Save.
Build the Dotfuscator Project
Now that you’ve created and saved a Dotfuscator Project, you can build it.
Click File
Build (Ctrl-B). This will rebuild your assembly with the obfus-
cation options you specified in the Dotfuscator Project.
Now that you’ve got an obfuscated assembly, let’s take a look at it using two
well-known tools, ILDASM and Reflector.
Investigate the Results with ILDASM
As you know, ILDASM can be used to view an assembly's manifest and its
IL code
[Hack #63]. You can use this tool to verify the Dotfuscator did its job by
Figure 10-25. Dotfuscator window
350
|
Chapter 10, Work with Visual Studio Tools
#80 Obfuscate Your Code
HACK
comparing the obfuscated assembly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Visual Studio 2015 Unleashed, Third Edition

Microsoft Visual Studio 2015 Unleashed, Third Edition

Mike Snell, Lars Powers
.Net Framework Essentials

.Net Framework Essentials

Thuan L. Thai, Hoang Lam
C# 5.0 Unleashed

C# 5.0 Unleashed

Bart De Smet
Programming .NET Security

Programming .NET Security

Adam Freeman, Allen Jones

Publisher Resources

ISBN: 0596008473Errata Page