mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-25 08:19:46 -04:00
18 lines
376 B
C#
18 lines
376 B
C#
using System.Diagnostics;
|
|
|
|
namespace WowUp.WPF.Extensions
|
|
{
|
|
public static class StringExtensions
|
|
{
|
|
public static void OpenUrlInBrowser(this string url)
|
|
{
|
|
if (string.IsNullOrEmpty(url))
|
|
{
|
|
return;
|
|
}
|
|
|
|
Process.Start(new ProcessStartInfo(url) { UseShellExecute = true });
|
|
}
|
|
}
|
|
}
|