Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. How to prevent decompilation of vb.net exe or dll?

How to prevent decompilation of vb.net exe or dll?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharptutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    savitri
    wrote on last edited by
    #1

    Hi All, I am new to this forum. We did one project in vb.net. I do not know how to prevent from decompilation? One way is there to prevent, is using third party softwares but i do not want to use those softwares. Is there any way to prevent through assemply level coding and from any way means without using third party softwares? Please give me some solution to prevent my code from decomipilation. Thanks in Advance, Savitri

    N A B 3 Replies Last reply
    0
    • S savitri

      Hi All, I am new to this forum. We did one project in vb.net. I do not know how to prevent from decompilation? One way is there to prevent, is using third party softwares but i do not want to use those softwares. Is there any way to prevent through assemply level coding and from any way means without using third party softwares? Please give me some solution to prevent my code from decomipilation. Thanks in Advance, Savitri

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      savitri wrote:

      how to prevent from decompilation?

      Simply put, you can't. Even an obfuscator won't prevent it, only make the code more difficult to read.


      only two letters away from being an asset

      1 Reply Last reply
      0
      • S savitri

        Hi All, I am new to this forum. We did one project in vb.net. I do not know how to prevent from decompilation? One way is there to prevent, is using third party softwares but i do not want to use those softwares. Is there any way to prevent through assemply level coding and from any way means without using third party softwares? Please give me some solution to prevent my code from decomipilation. Thanks in Advance, Savitri

        A Offline
        A Offline
        Arun Jacob
        wrote on last edited by
        #3

        If you are having Visual Studio its having a obfuscation tool thats Dotfuscator.By using that you can obfuscate your code.It doesn't means that your code is 100% safe but dotfuscator will make your code difficult to understand after decompilation.So you can try that.

        Arun Jacob http://codepronet.blogspot.com/

        1 Reply Last reply
        0
        • S savitri

          Hi All, I am new to this forum. We did one project in vb.net. I do not know how to prevent from decompilation? One way is there to prevent, is using third party softwares but i do not want to use those softwares. Is there any way to prevent through assemply level coding and from any way means without using third party softwares? Please give me some solution to prevent my code from decomipilation. Thanks in Advance, Savitri

          B Offline
          B Offline
          bindasrakesh
          wrote on last edited by
          #4

          By design .NET embeds rich Meta data inside the executable code using MSIL. Anyone can easily decompile your DLL back using tools like ILDASM (owned by Microsoft) or Reflector for.NET which is a third party. Secondly there are many third party tools which make this decompiling process a click away. So any one can easily look in to your assemblies and reverse engineer them back in to actual source code and understand some real good logic which can make it easy to crack your application. The process by which you can stop this reverse engineering is using “obfuscation”. It’s a technique which will foil the de compilers. There are many third parties (XenoCode, Demeanor for .NET) which provide .NET obfuscation solution. Microsoft includes one that is Dotfuscator Community Edition with Visual Studio.NET

          lklklhjsdg

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups