Pat
Pat

Reputation: 21

Way to Rename all Functions/Methods to Random Names in Visual Studio Studio

I need to create a macro to go through my 100000 line project and rename each function to random strings.

Has anyone done something like this?

Upvotes: 2

Views: 1186

Answers (4)

logicnp
logicnp

Reputation: 5836

Instead of attempting to do this yourself, use an obfuscator such as the ones named above or Crypto Obfuscator

Upvotes: 0

Jacob
Jacob

Reputation: 168

I highly suggest that you use a obfuscator such as dotfuscator, It will do what you want and will protect you're program further than just randomizing your function names... Dotfuscator Community Edition is included with VS

Upvotes: 0

user405725
user405725

Reputation:

This is called an obfuscation of the code. In order to do this in .NET, you have to use Dotfuscator. Visual Studio installation is bundled with Dotfuscator Community Edition (optional component).

Good luck!

Upvotes: 1

Adam Lear
Adam Lear

Reputation: 38778

I'd use a tool designed for this instead. For example, Dotfuscator.

Upvotes: 6

Related Questions