I am trying to find something in the gnome libs to do this:
Gnome.GnomeOpen(url_string);
and gnome will open the URL with the preferred gnome application
Does this exist?
I am trying to find something in the gnome libs to do this:
Gnome.GnomeOpen(url_string);
and gnome will open the URL with the preferred gnome application
Does this exist?
Untested:
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents=false;
proc.StartInfo.FileName = "xdg-open"; //best guess
proc.StartInfo.Arguments = string_url;
proc.Start();
proc.WaitForExit();
I don't have linux here at work to test this, but you should be able to accomplish what you want by changing the command to what it needs to be, using the above as a template.
Process.Start should handle all the messy work for you:
Process.Start ("http://www.mono-project.com");