using System.Diagnostics; using ChineseChess.GUI.Contracts.Services; namespace ChineseChess.GUI.Services { public class SystemService : ISystemService { public SystemService() { } public void OpenInWebBrowser(string url) { // For more info see https://github.com/dotnet/corefx/issues/10361 var psi = new ProcessStartInfo { FileName = url, UseShellExecute = true }; Process.Start(psi); } } }