title: Password protecting a PDF file
body: <p>I have the following:</p>
  
  <ul>
  <li>routine X that creates a PDF file on a daily basis.</li>
  <li>routine Y that attaches this file to an Outlook e-mail and sends it to recipients.</li>
  </ul>
  
  <p>Both the above are in VBA. They are called from a C# console application.</p>
  
  <p>Once the PDF has been created I need to password protect it. 
  To do this via VBA without purchasing third party software is quite involved.</p>
  
  <p>What is the simplest solution using C#? </p>
  
  <p>(I'm suspecting there will be an inverse relationship between amount we spend and complexity of answer!)</p>