Check if a file is real or a symbolic link

Posted by mattdwen on Stack Overflow See other posts from Stack Overflow or by mattdwen
Published on 2009-09-28T02:36:34Z Indexed on 2010/03/12 4:17 UTC
Read the original article Hit count: 666

Filed under:
|

Is there a way to tell using C# if a file is real or a symbolic link?

I've dug through the MSDN W32 docs (http://msdn.microsoft.com/en-us/library/aa364232(VS.85).aspx), and can't find anything for checking this. I'm using CreateSymbolicLink from here, and it's working fine.

© Stack Overflow or respective owner

Related posts about c#

Related posts about symbolic-link