title: C# - Add, edit and delete tags of file
body: <p>I would like to add and retrieve tags of files in File System.    </p>
  
  <p>As you can tag Stackoverflow question to the relevant topics, you can tag a file in Windows file-system:</p>
  
  <p><a href="https://i.stack.imgur.com/pS9bH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pS9bH.png" alt="sample"></a></p>
  
  <p>The following way doesn't give me access to the tags of the file, but only to other file properties.</p>
  
  <pre><code>string file = @"C:\Users\me\Desktop\MyFile.doc";
  
  FileInfo oFileInfo = new FileInfo(file);
  MessageBox.Show(oFileInfo.FullName);
  </code></pre>
  
  <p>Any ideas how to access the tags using the simple API of <code>System.IO</code>?</p>