Hi, Samba shares are mounted in /home/<user>/.gvfs/. I forget what kind of GTK# API there is to [un]mount them.
I do wish this was more automagic, GNOME included. On Wed, Dec 22, 2010 at 5:38 AM, notmii <[email protected]> wrote: > > Hi Guys, > > I am new to MONO Development.. > I am trying to explore the compatibility of "executable build in Mono" to > Windows and Linux (Ubuntu) > > And I encounter this problem. > > I was trying to open a file from a network through File.OpenRead(string > Path) > In Windows this work smooth but in Linux it throws an error > > In windows I tried to open \\192.168.0.2\ > result: it show the folders available in 192.168.0.2 > > In Ubuntu when I tried to open the "smb://192.168.0.2/" it throws an > Exemption > result: DirectoryNotFoundExemtion: Could not find a part of the path > "/home/<user>/smb://192.168.0.2/" > > How can I resolve this exemption in Ubuntu ? > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/File-OpenRead-tp3160428p3160428.html > Sent from the Mono - WinForms mailing list archive at Nabble.com. > _______________________________________________ > Mono-winforms-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
