Welcome to mirror list, hosted at ThFree Co, Russian Federation.

RootLauncher.cs - github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eef06995d0da6a4c604f2c1d1c1d4d63b37962fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Diagnostics;

namespace macdoc
{
	public static class UrlLauncher
	{
		public static void Launch (string url)
		{
			if (string.IsNullOrEmpty (url))
				throw new ArgumentNullException (url);
			Process.Start (new ProcessStartInfo (url));
		}
	}
}