AW: [Mono-list] Directory Symbolic link?

Jochen Wezel jwezel@compumaster.de
Tue, 10 Feb 2004 09:21:08 +0100


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

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

Jochen

-----Urspr=FCngliche Nachricht-----
Von: mono-list-admin@lists.ximian.com =
[mailto:mono-list-admin@lists.ximian.com] Im Auftrag von Gonia Eric - =
egonia
Gesendet: Montag, 9. Februar 2004 21:52
An: Alejandro Mery
Cc: mono-list@lists.ximian.com
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=20
> > real directory with mono?
> >=20
> > The attached code enters a recursive loop due to recursive symbolic=20
> > links on my computer.
> well, if u will do something xunix specific like check symlinks you=20
> can call `du` command and just wit the answer :-)
>=20
> Regards,
> Alejandro Mery
>=20

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com =
http://lists.ximian.com/mailman/listinfo/mono-list