[Mono-list] Mono C# and Windows Shares

Miguel de Icaza miguel@ximian.com
Sat, 22 Jan 2005 02:08:52 -0500


Hello,

> This might be a silly question, but I was wondering if there were a way
> of accessing a windows-share f.ex using File.Copy to copy a file to a
> Windows-share.
> 
> File.Copy using UNC-paths under windows works OK, but not surprisingly
> under say Linux.

This is a feature of the Windows kernel, File.Copy just happens to
benefit from it.

To achieve the same with Linux, you must mount the filesystem with your
kernel, or alternatively use one of the automouters available.