Home All Groups Group Topic Archive Search About

VB.net Express compiling problems

Author
29 Jun 2006 9:48 AM
Carl Davis
Hi,

When I open up an executable in Notepad that I just created in VB.net
express I can see virtually all of the source code! Is there any way of
improving the compiled output to hide this?

Thanks - Carl.

Author
29 Jun 2006 11:15 AM
Herfried K. Wagner [MVP]
"Carl Davis" <carldavis***@hotmail.com> schrieb:
> When I open up an executable in Notepad that I just created in VB.net
> express I can see virtually all of the source code! Is there any way of
> improving the compiled output to hide this?

I assume you are referring to identifiers' names.  Yes, that's "by design".
You may want to use an obfuscator to obfuscate the identifiers.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
29 Jun 2006 12:21 PM
Cyril Gupta
Hello,

Yep, that's the manifest information. In fact if you use the ILDASM
(Intermediate Language Disassembler) You will see a lot more... All your
code, in IL, laid out plainly in sight.

To solve this problem you can use the Dotfuscator, which will obfuscate the
code, making it harder for any hacker to read it.

There are some third-party tools in the market to encrypt the executable as
well.

Regards
Cyril Gupta
Author
29 Jun 2006 2:32 PM
Carl Davis
Thanks guys


Show quoteHide quote
"Carl Davis" <carldavis***@hotmail.com> wrote in message
news:uW4m4E2mGHA.1208@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> When I open up an executable in Notepad that I just created in VB.net
> express I can see virtually all of the source code! Is there any way of
> improving the compiled output to hide this?
>
> Thanks - Carl.
>