How to protect your .net software code with
ILProtector?
 paksoft2009  2018-02-22 10:35:15  9
ILProtector is actively developed and maintained by vgrsoft.com. ILProtector first started as free
software that focused on protecting .Net code from reverse engineering. Now its latest version
is paid software (more info about licensing here), obviously still a great software with more
protection options. But we are still in luck as we can use its older version freely. Another great
thing about this softwares is that it provides Command Line Interface (CLI) so we can integrate
it very easily as we want in third party tools like we will use it in Visual Studio.
Here are some of the ways we can protect our .Net software by using ILProtector
Note: Please create a backup of your software before proceeding.
B y u s i n g I L P r o t e c t o r ’ s m
1. Open ILProtector
2. Select your software by clicking + icon
3. Now click properties icon to open properties. Here you can change settings if you want to
embed protecting dll into your software or keep them separate with other settings. Click
Save
 Save 50% on Youtube Downloader
4. Now comming back on main interface, click Process button to protect the software. This
will generate your software that is protected against know decompilers like IL DASM,
.NET Reflector, ILSpy, dotPeek etc
B y u s i n g I L P r o t e c t o r w i t h
1. Start -> type cmd -> Open cmd
2. When cmd is open, type folloing command (change output folder and exe path with
yours)
ILProtector.exe -out="c:ouput folder" -nogui -embed-dlls "c:myprogram.exe
"
3. Hit Enter key on keyboard, this will generate the protected version of your software.
B y u s i n g B u i l d E v e n t s i n
1. Open your project in Visual Studio.
2. Open Project -> Properties -> Build Events
Submit Softwares - Contact - Privacy Policy - © StandaloneInstaller.com 2018
3. I n Post Build event type following command. (replace all paths and exe names with
yours)
ILProtector -out="$(SolutionDir)My SoftwarebinRelease" -nogui -embed-dlls
"$(SolutionDir)My SoftwarebinReleaseMy Software.exe"
4. Note: You should include ILProtector's directory path in Enviromment Variable which in
my case was C:Program Files (x86)VgrSoftILProtector
MOST READ
How to Uninstall ‘Get forms online’ Malware?
How to Tell If you’ve Been Blocked on Skype
How to get and save user input during installation using Advanced Installer?
How to turn on phone without power button?
How to gain space on your Android device?
How to Fix iPhone White Screen of Death?
How to cancel a frozen app download on your Android device?
How to use Android's Autocorrect Feature?
How to run Android apps in Windows?
How to read free Google Ebooks on your device?
Random Article
 Write An Article

How to protect your .net software code with ILProtector

  • 1.
    How to protectyour .net software code with ILProtector?  paksoft2009  2018-02-22 10:35:15  9 ILProtector is actively developed and maintained by vgrsoft.com. ILProtector first started as free software that focused on protecting .Net code from reverse engineering. Now its latest version is paid software (more info about licensing here), obviously still a great software with more protection options. But we are still in luck as we can use its older version freely. Another great thing about this softwares is that it provides Command Line Interface (CLI) so we can integrate it very easily as we want in third party tools like we will use it in Visual Studio. Here are some of the ways we can protect our .Net software by using ILProtector Note: Please create a backup of your software before proceeding. B y u s i n g I L P r o t e c t o r ’ s m 1. Open ILProtector 2. Select your software by clicking + icon 3. Now click properties icon to open properties. Here you can change settings if you want to embed protecting dll into your software or keep them separate with other settings. Click Save  Save 50% on Youtube Downloader
  • 2.
    4. Now commingback on main interface, click Process button to protect the software. This will generate your software that is protected against know decompilers like IL DASM, .NET Reflector, ILSpy, dotPeek etc B y u s i n g I L P r o t e c t o r w i t h 1. Start -> type cmd -> Open cmd 2. When cmd is open, type folloing command (change output folder and exe path with yours)
  • 3.
    ILProtector.exe -out="c:ouput folder"-nogui -embed-dlls "c:myprogram.exe " 3. Hit Enter key on keyboard, this will generate the protected version of your software. B y u s i n g B u i l d E v e n t s i n 1. Open your project in Visual Studio. 2. Open Project -> Properties -> Build Events
  • 4.
    Submit Softwares -Contact - Privacy Policy - © StandaloneInstaller.com 2018 3. I n Post Build event type following command. (replace all paths and exe names with yours) ILProtector -out="$(SolutionDir)My SoftwarebinRelease" -nogui -embed-dlls "$(SolutionDir)My SoftwarebinReleaseMy Software.exe" 4. Note: You should include ILProtector's directory path in Enviromment Variable which in my case was C:Program Files (x86)VgrSoftILProtector MOST READ How to Uninstall ‘Get forms online’ Malware? How to Tell If you’ve Been Blocked on Skype How to get and save user input during installation using Advanced Installer? How to turn on phone without power button? How to gain space on your Android device? How to Fix iPhone White Screen of Death? How to cancel a frozen app download on your Android device? How to use Android's Autocorrect Feature? How to run Android apps in Windows? How to read free Google Ebooks on your device? Random Article  Write An Article