I am running this code and I am getting the "Windows protected your PC" message. Is there a way to tell Windows that this is a safe program and allow it to continue?
The message also states "Windows SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk."
private void runProcess(string exeLocation)
{
var process = Process.Start(exeLocation) // I get error here
process.WaitForExit();
}