Reputation: 169
I'm creating a console application in C# which launches a browser in kiosk mode. The problem is that it occupies the whole screen.
Is it possible for the window to be smaller and draggable?
launcherUrl = string.Format("{0}{1}{2}", ConfigurationManager.AppSettings.Get("LauncherUrl"), computerName, "&UserName=" + userName);
Process.Start(ChromePath, "--kiosk " + launcherUrl);
This is what it looks like in full screen.
Upvotes: 2
Views: 5457
Reputation: 169
I have managed to solve my problem.
Replaced:
Process.Start(ChromePath, "--kiosk " + launcherUrl);
with
Process.Start(ChromePath, "--app=" + launcherUrl);
Upvotes: 9