Opening html file with query string

后端 未结 1 600
花落未央
花落未央 2021-01-21 03:31

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 filenam

相关标签:
1条回答
  • 2021-01-21 04:06

    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.

    0 讨论(0)
提交回复
热议问题