The answer to this question shows how to launch Edge with a web URL from C#:
System.Diagnostics.Process.Start("microsoft-edge:http://www.google.com");
However, this doesn't seem to work with file URLs.
System.Diagnostics.Process.Start("microsoft-edge:file:///C:/foo/bar.html");
launches Edge, but the file is not displayed. Instead, Edge opens to its default page. Pasting the same URL ("file:///C:/foo/bar.html") into the Edge address bar works fine, and if I right-click the file in Explorer and choose Open With->Edge, the same URL appears in the address bar.
Does anyone know how to launch Edge with a file URL?
TIA