title: Unique Folder Identifier
body: <p>Earlier today someone generously answered my question regarding the retrieval of a unique identifier associated with files on the computer. <a href="https://stackoverflow.com/questions/10129623/unique-file-identifier">Unique File Identifier</a></p>
  
  <p>The solution worked great, however, it does not address unique identifiers for folders. How can I retrieve a UID for specified directories, UID's that will stay with the directory through renames and moves.</p>
  
  <p>Update: FSCTL_GET_OBJECT_ID seems like it is the function I am after, but would someone be able to provide brief context on the usage? Thanks!</p>