[Mono-list] Working with symbolic links

Steve Lessard s_lessard at yahoo.com
Mon Feb 14 13:51:26 EST 2011


I've written a custom tool for searching for files in the system's PATH. I use this tool on both Windows and OS X. 

On OS X the tool recognizes symbolic link files and does a little extra processing on them thanks to Mono's UnixSymbolicLinkFileInfo class and Syscall.lstat. I'd like to have similar functionality on Windows. Is there any equivalent of these classes/methods on Windows?

To broaden the question a bit... The Mono.Posix.dll assembly is awesome because it provides managed code that exposes a lot of the OS functions that aren't available in standard .NET. Is there an analogous assembly for Windows? Maybe a Mono.Windows.dll assembly?

-SteveL



More information about the Mono-list mailing list