Dragonbite
August 4th, 2010, 05:00 PM
I am wondering, how do you compensate for different file structures between Linux and Windows when programming for a cross-platform application?
For example, if I want to scan my /home directory in Linux, and my "My Documents" in Windows with something made in Mono (C# or VB.NET)?
Or scanning a network folder in Linux (smb://<server>/<folder>) as opposed to Windows (\\<server>\<folder>).
Or even just that Windows uses the back slash ("\") and Linux uses the forward slash ("/")?
I am not very experienced with client programming (work in ASP.NET) so I am taking Mono as an opportunity to "re-use" my (minuscule) .NET experience.
Thanks.
For example, if I want to scan my /home directory in Linux, and my "My Documents" in Windows with something made in Mono (C# or VB.NET)?
Or scanning a network folder in Linux (smb://<server>/<folder>) as opposed to Windows (\\<server>\<folder>).
Or even just that Windows uses the back slash ("\") and Linux uses the forward slash ("/")?
I am not very experienced with client programming (work in ASP.NET) so I am taking Mono as an opportunity to "re-use" my (minuscule) .NET experience.
Thanks.