How can I hide or encrypt my vb.net source code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yemata Abebe
    New Member
    • May 2011
    • 6

    How can I hide or encrypt my vb.net source code?

    How can I hide or encrypt my vb.net source code?
    Code:
    'Example
    Dim x , y , z as integer
    x=1
    y=2
    z= x * y
    Msgboxz)
    Thanks in advance
    Last edited by Frinavale; Aug 9 '12, 01:24 PM. Reason: Added code tags.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Just zip it and password protect it. I believe 7zip can encrypt and password protect files.

    Comment

    • !NoItAll
      Contributor
      • May 2006
      • 297

      #3
      Um, Rabbit, I think he was asking about obfuscation, not zipping the source files...
      Yemata - there are a number of products out there that will obfuscate your source before it is compiled. Obfuscated code is still source code that someone with enough patience and skill could make use of, but it can be very difficult for them.
      Check out http://preemptive.com/products/dotfuscator/overview

      Comment

      • LogicNP
        New Member
        • Jul 2009
        • 2

        #4
        Use an obfuscation tool

        Use an obfuscation tool on your assemblies. Try Crypto Obfuscator which has code protection, encryption, compression, etc.

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          On top of obfusation, you can also use proper scope modifiers :)

          Comment

          • mreed1972
            New Member
            • Aug 2012
            • 2

            #6
            is there obfuscation out there that is free or open source?

            Comment

            • Frinavale
              Recognized Expert Expert
              • Oct 2006
              • 9749

              #7
              I think there's a version of it that comes with visual studio.

              Comment

              Working...