title: How can I identify if a directory is a symbolic link (in contrast to a "real" local directory)?
body: <p>I need to block access to network based directories. However by using tools like "mklink" users can create mapped directories which appear like local directories. I use a .net based code to get the UNC paths of the directories to identify network folders. But this does not work for mapped folders. Is there any information in <code>DirectoryInfo</code> class which I can use?</p>