I want to run the application in background.I tried many aspects but my bad luck. below is my code where I used the Process Method to run in background.
private bool launchdoors(string username, string password, string location)
{
proc = Process.Start("chrome.exe", "-u " + username + " -P " + password + " -
W" + "-d" + location);
proc.EnableRaisingEvents = false;
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.WindowStyle = ProcessWindowStayle.Hidden;
return true;
}