How do I start a process, such as launching a URL when the user clicks a button?
If using on Windows
Process process = new Process();
process.StartInfo.Filename = "Test.txt";
process.Start();
Works for .Net Framework but for Net core 3.1 also need to set UseShellExecute to true
Process process = new Process();
process.StartInfo.Filename = "Test.txt";
process.StartInfo.UseShellExecute = true;
process.Start();