[Mono-winforms-list] File.OpenRead()

notmii jrlizaso_antispam-public at yahoo.com
Wed Dec 22 05:38:33 EST 2010


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.


More information about the Mono-winforms-list mailing list