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. The Lounge
  3. C# Decompiler - Is it possible !!!

C# Decompiler - Is it possible !!!

Scheduled Pinned Locked Moved The Lounge
6 Posts 6 Posters 0 Views
  • 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
    snegidi
    wrote last edited by
    #1

    Hi, We all know that Java can be decompiled back to source, is the same going to happen for C# too. How is MS going to prevent this("Is it necessary" is a different qn). Is there gonnu be a obfusticator for .NET too. Any ideas. Cheers KayKa

    J L 2 Replies Last reply
    0
    • S snegidi

      Hi, We all know that Java can be decompiled back to source, is the same going to happen for C# too. How is MS going to prevent this("Is it necessary" is a different qn). Is there gonnu be a obfusticator for .NET too. Any ideas. Cheers KayKa

      J Offline
      J Offline
      jithu
      wrote last edited by
      #2

      There is a decomnpiler in the SDK. :

      K 1 Reply Last reply
      0
      • J jithu

        There is a decomnpiler in the SDK. :

        K Offline
        K Offline
        KenKen Wong
        wrote last edited by
        #3

        Uh... Is there anything that prevents 'people' from ripping my code? How good does the decompiled stuff look - how much of the original is retained? e.g. All internal function names & arguments? decompiling optimized C++ code creates rather obfuscated 'sources'. But if you get 'readable' sources back - woudln't this drive most companies away from developing for .NET? At least, drive them away from using .NET for desktop applications. (I still doubt the Internet is ALL the future

        L 1 Reply Last reply
        0
        • K KenKen Wong

          Uh... Is there anything that prevents 'people' from ripping my code? How good does the decompiled stuff look - how much of the original is retained? e.g. All internal function names & arguments? decompiling optimized C++ code creates rather obfuscated 'sources'. But if you get 'readable' sources back - woudln't this drive most companies away from developing for .NET? At least, drive them away from using .NET for desktop applications. (I still doubt the Internet is ALL the future

          L Offline
          L Offline
          Lost User
          wrote last edited by
          #4

          I think the 'decompiler' Chris is talking about is the ILDASM tool which decompiles your managed code to IL. I've looked at IL and it's like glorified assembly so if you're not worried about someone reading your code in assembly then I'm not sure you have to sweat IL.

          M 1 Reply Last reply
          0
          • L Lost User

            I think the 'decompiler' Chris is talking about is the ILDASM tool which decompiles your managed code to IL. I've looked at IL and it's like glorified assembly so if you're not worried about someone reading your code in assembly then I'm not sure you have to sweat IL.

            M Offline
            M Offline
            marcus1877
            wrote last edited by
            #5

            Hello! There has been very live discussions about this topis at DeveloperMentor DOTNET maillist. See at the following threads... "Protecting assemblies from reverse-engineering" (http://discuss.develop.com/archives/wa.exe?A2=ind0009a&L=dotnet&F=&S=&P=25833) Intellectual Property? http://discuss.develop.com/archives/wa.exe?A2=ind0009d&L=dotnet&F=&S=&P=839 "Legality of ILDASM" http://discuss.develop.com/archives/wa.exe?A2=ind0009e&L=dotnet&F=&S=&P=3783 IL is on more high level than x86 assembler and reverse engineering code from IL is really should be no big deal. There is good decompilers from Java jvm bytecode, so there will be (no doubt) decompilers from IL to C# or to VB.Net, too. One of possible solution is good obsfucator... Or MS will add some kind of encryption... It seems that this is big issue for creators of commercial components or libraries. Slavo

            1 Reply Last reply
            0
            • S snegidi

              Hi, We all know that Java can be decompiled back to source, is the same going to happen for C# too. How is MS going to prevent this("Is it necessary" is a different qn). Is there gonnu be a obfusticator for .NET too. Any ideas. Cheers KayKa

              L Offline
              L Offline
              LeRoy CodeProject
              wrote last edited by
              #6

              I would imagine that there will eventually be some kind of decomplier. But since all the new MS languages (with the exception of unmanaged C++) compile down to the same IL(theoretically), who knows what it will decompile to? My guess is that it will be more of a dissasembler that breaks the IL down into something human more readable, but probably not source code. -Mik

              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

              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups