title: C#: iTextSharp, how can i edit the title property of a pdf-document?
body: <p>I use the <strong>iTextSharp</strong> Library in my C# project to read and edit pdf documents.
  Now I want to change the title of a certain pdf-document. 
  I searched a lot about this issue, but nothing really works for me.
  Best I found is following:</p>
  
  <pre><code>PdfReader pdfReader = new PdfReader(filePath);
  
  using (FileStream fileStream = new FileStream(newFilePath, 
                                                FileMode.Create,
                                                FileAccess.Write))
  {
      string title = pdfReader.Info["Title"] as string;
      Trace.WriteLine("Existing title: " + title);
  
      PdfStamper pdfStamper = new PdfStamper(pdfReader, fileStream);
  
      // The info property returns a copy of the internal HashTable
      Hashtable newInfo = pdfReader.Info;
  
      newInfo["Title"] = "New title";
  
      pdfStamper.MoreInfo = newInfo;
  
      pdfReader.Close();
      pdfStamper.Close();
  }
  </code></pre>
  
  <p>But Visual Studio says that <strong><code>System.Collection.Hashtable</code> can't be converted implicit into <code>System.Collections.Generic.IDictionary&lt;string,string&gt;</code>. There is already an existing conversion.</strong></p>
  
  <p>Hope anyone can help me with that. Or has another solution with iTextSharp to edit the title.</p>