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. Password Protected Pdf

Password Protected Pdf

Scheduled Pinned Locked Moved C#
csharpquestion
5 Posts 3 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
    subrata jana
    wrote on last edited by
    #1

    How can i add password to a pdf file in C#.

    N S 2 Replies Last reply
    0
    • S subrata jana

      How can i add password to a pdf file in C#.

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Hello This depends on the library -if any- you are using. No classes in C# deals directly with pdf files.

      Regards:rose:

      S 1 Reply Last reply
      0
      • N Nader Elshehabi

        Hello This depends on the library -if any- you are using. No classes in C# deals directly with pdf files.

        Regards:rose:

        S Offline
        S Offline
        subrata jana
        wrote on last edited by
        #3

        hi Do CodeProject has some example of writing pdf with passsword protection. pls guide me with some examples to how to get this done. thanks in advance.

        N 1 Reply Last reply
        0
        • S subrata jana

          hi Do CodeProject has some example of writing pdf with passsword protection. pls guide me with some examples to how to get this done. thanks in advance.

          N Offline
          N Offline
          Nader Elshehabi
          wrote on last edited by
          #4

          You won't find examples for "writing pdf with passsword protection" straightforward. Searching for that won't get you anywhere. What you are looking for is a pdf writing library. Some commercial libraries are out there. As I told you, search CodeProject's articles areas for "pdf", or google for "pdf C# library". That might get you closer. PS. Elcomsoft has a program called Advanced PDF password recovery by the way. So, if your documents isn't that value, don't make the effort. Good luck!

          Regards:rose:

          1 Reply Last reply
          0
          • S subrata jana

            How can i add password to a pdf file in C#.

            S Offline
            S Offline
            Suelinda_W
            wrote on last edited by
            #5

            Hello, ComponentOne has a control, PDF for .NET, which allows you to create password protected PDF files. For more information, and to download a free evaluation, please visit http://www.componentone.com/products.aspx?TabTypeID=1&ItemType=1&PanelIndex=14&ItemID=54543&SubCategoryTypeID=0&TabMapID=97&TabID=116[^].

            Suelinda W Customer Engagement, ComponentOne LLC http:\\www.componentone.com

            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