public static bool IsSymlink(FileSystemInfo fsi) { return ((fsi.Attributes & FileAttributes.ReparsePoint) == FileAttributes.ReparsePoint); }