title: get path without file name from saveFileDialog?
body: <p>I am try to get my path from <code>SaveFileDialog</code> without my file name in order to create a <code>DirectoryInfo</code> object</p>
  
  <pre><code>private void btnBrowseCapture_Click(object sender, EventArgs e)
  {
      SaveFileDialog saveFileDialogBrowse2 = new SaveFileDialog();
      saveFileDialogBrowse2.Filter = "Pcap file|*.pcap";
      saveFileDialogBrowse2.Title = "Save an pcap File";
      saveFileDialogBrowse2.ShowDialog();
  
      if (saveFileDialogBrowse2.FileName != "")
      {
          string str = saveFileDialogBrowse2.FileName;
  
      }
  }
  </code></pre>