'How do I call a website using a c# process in kiosk mode on Edge Chromium?

I am using the following command to open a website in Kiosk Mode

Proc = Process.Start(browser, "--kiosk --incognito https://example.net/PPT" + CC + "?" + Msg);

This used to work without issue on a windows 10 tablet, however recent upgrades to edge chromium / windows now prevent the site from opening in kiosk mode.

The process is initiated by the detection of an NFC fob.

I have noticed that if I represent the fob (whilst the site is open), which causes the process to be stopped and restarted, the command works as expected.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source