title: Check whether a path is valid
body: <p>I am just wondering: I am looking for a way to validate if a given path is valid.
  <em>(Note: I do not want to check if a file is existing! I only want to proof the validity of the path - So if a file could possibly exists at the location)</em>.</p>
  
  <p>Problem is, I can't find anything in the .Net API.
  Due to the many formats and locations that Windows supports, I'd rather use something MS-native.</p>
  
  <p>Since the function should be able to check against:</p>
  
  <blockquote>
    <ul>
    <li>Relative Paths (./)</li>
    <li>Absolute Paths (c:\tmp)</li>
    <li>UNC-Pathes (\some-pc\c$)</li>
    <li>NTFS-Limitations like the full path 1024 chars - If I am not mistaken exceeding the path will make a file inaccessible for many
    internal Windows functions. Renaming it with Explorer still works</li>
    <li>Volume GUID Paths : "\?\Volume{GUID}\somefile.foo</li>
    </ul>
  </blockquote>
  
  <p>Does anyone have a function like this?</p>