关键性参数

 

Google Chrome浏览器

Process process = Process.Start("chrome.exe", " --kiosk " + url);

 

IE浏览器

Process process = Process.Start("iexplore.exe"," -k " + url);

 

先杀一遍浏览器进程,再去调用进程打开浏览器,不然的话只会打开新窗口,而不是直接全屏。

转载于:https://wwwblogs/gilbert/p/8717333.html