Maybe, your question could be answered with the search for reparse points:

System.IO.DirectoryInfo a;
bool IsSymbolicLink = a.Attributes.ReparsePoint;

Jochen

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Gonia Eric - egonia
Gesendet: Montag, 9. Februar 2004 21:52
An: Alejandro Mery
Cc: [EMAIL PROTECTED]
Betreff: Re: [Mono-list] Directory Symbolic link?

That's a nice solution to this problem, but does anyone know if the ability exists to 
determine if a directory is a symbolic link using the class library by a mono addition?


On Mon, 2004-02-09 at 13:58, Alejandro Mery wrote:
> On Mon, Feb 09, 2004 at 01:42:42PM -0600, Gonia Eric - egonia wrote:
> > Is there a way to determine if a directory is a symbolic link or a 
> > real directory with mono?
> > 
> > The attached code enters a recursive loop due to recursive symbolic 
> > links on my computer.
> well, if u will do something xunix specific like check symlinks you 
> can call `du` command and just wit the answer :-)
> 
> Regards,
> Alejandro Mery
> 

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED] 
http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to