Is it possible to load a local HTML file with a query string? I'm using Process.Start, but that fails because appending ?querystring=test
to the end of the filename makes it search for that.
Process.Start("page.html?querystring=test")
The code above results in a FileNotFound exception. I've tried using ProcessStartInfo and pass the query string as an argument, but that just loaded the normal page. Is this possible?
It's not possible because query strings are a part of HTTP protocol and so they only work when a file is served from a web server. A local HTML file is simply read from the file system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With