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. C#
  4. how to pervent to see my code in a dll file?

how to pervent to see my code in a dll file?

Scheduled Pinned Locked Moved C#
tutorialhelpquestion
8 Posts 5 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.
  • M Offline
    M Offline
    mehran asg
    wrote on last edited by
    #1

    there is many program that show source code in dll file. But I know you can do something to privent them to see your source code in dll file. by the way , I cant see my comment when I create an instance of a class when I use dll file instead of source code. when I use source code( for example: class.cs) there is no problem.I can see comments. but when I use Class.dll, I cant see comment. please guide me. thanks mehran

    A M 2 Replies Last reply
    0
    • M mehran asg

      there is many program that show source code in dll file. But I know you can do something to privent them to see your source code in dll file. by the way , I cant see my comment when I create an instance of a class when I use dll file instead of source code. when I use source code( for example: class.cs) there is no problem.I can see comments. but when I use Class.dll, I cant see comment. please guide me. thanks mehran

      A Offline
      A Offline
      Andrei Ungureanu
      wrote on last edited by
      #2

      mohandesmehran wrote:

      there is many program that show source code in dll file. But I know you can do something to privent them to see your source code in dll file

      Try obfuscating the dll file.

      mohandesmehran wrote:

      I cant see my comment when I create an instance of a class when I use dll file instead of source code

      What comment don't you see? The summary of the method?

      I will use Google before asking dumb questions

      M 1 Reply Last reply
      0
      • M mehran asg

        there is many program that show source code in dll file. But I know you can do something to privent them to see your source code in dll file. by the way , I cant see my comment when I create an instance of a class when I use dll file instead of source code. when I use source code( for example: class.cs) there is no problem.I can see comments. but when I use Class.dll, I cant see comment. please guide me. thanks mehran

        M Offline
        M Offline
        MohammadAmiry
        wrote on last edited by
        #3

        As Andrei said, ofuscating prevents your codes to be decomplied (to some extent). But remember that when you use the source of the dll (i.e. class.cs) in your project file, in fact no dll is built!! The source code is compiled and linked into your executable file!! This is where the difference comes from.

        M 1 Reply Last reply
        0
        • A Andrei Ungureanu

          mohandesmehran wrote:

          there is many program that show source code in dll file. But I know you can do something to privent them to see your source code in dll file

          Try obfuscating the dll file.

          mohandesmehran wrote:

          I cant see my comment when I create an instance of a class when I use dll file instead of source code

          What comment don't you see? The summary of the method?

          I will use Google before asking dumb questions

          M Offline
          M Offline
          mehran asg
          wrote on last edited by
          #4

          yes. I cant see summary.please help me more about dll file. thanks

          A 1 Reply Last reply
          0
          • M MohammadAmiry

            As Andrei said, ofuscating prevents your codes to be decomplied (to some extent). But remember that when you use the source of the dll (i.e. class.cs) in your project file, in fact no dll is built!! The source code is compiled and linked into your executable file!! This is where the difference comes from.

            M Offline
            M Offline
            mehran asg
            wrote on last edited by
            #5

            I create my dll file in Class Library Project and use that Dll file in my asp.net web application. I dont know anything about "ofuscating" please guide me more.

            P 1 Reply Last reply
            0
            • M mehran asg

              yes. I cant see summary.please help me more about dll file. thanks

              A Offline
              A Offline
              Anthony Mushrow
              wrote on last edited by
              #6

              In the compiler options somewhere is an option to generate an XML file, find it, and click it. This will turn all your summaries and whatnot, into an XML file, which is read when you use your DLL in another project. Just remember to have the xml file in the same place as the dll.

              My current favourite word is: PIE! Good ol' pie, it's been a while.

              M 1 Reply Last reply
              0
              • A Anthony Mushrow

                In the compiler options somewhere is an option to generate an XML file, find it, and click it. This will turn all your summaries and whatnot, into an XML file, which is read when you use your DLL in another project. Just remember to have the xml file in the same place as the dll.

                My current favourite word is: PIE! Good ol' pie, it's been a while.

                M Offline
                M Offline
                mehran asg
                wrote on last edited by
                #7

                I couldnt find this file. please guide me!

                1 Reply Last reply
                0
                • M mehran asg

                  I create my dll file in Class Library Project and use that Dll file in my asp.net web application. I dont know anything about "ofuscating" please guide me more.

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #8

                  mohandesmehran wrote:

                  I dont know anything about "ofuscating" please guide me more.

                  Google it. There are many different tools out there to help obfuscate your code.

                  "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

                  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