2022-04-20, 13:42:36
Hi,
That would be via EnvironmentOptions which isn't currently exposed.
Via the AdditionalBrowserArguments property one can set chrome flags and one of those possible flags is for proxy settings.
I'm not sure if these specific chrome flags are even supported with WebView2.
Just had a quick look at github and it does look like it is indeed recommended to use the method above.
Microsoft is tracking their proxy support in feedback item #132
I will look into this after I release the beta.
Do you need proxy support on an application bases or per webview2 instance?
--
Wil
That would be via EnvironmentOptions which isn't currently exposed.
Via the AdditionalBrowserArguments property one can set chrome flags and one of those possible flags is for proxy settings.
I'm not sure if these specific chrome flags are even supported with WebView2.
Just had a quick look at github and it does look like it is indeed recommended to use the method above.
Microsoft is tracking their proxy support in feedback item #132
I will look into this after I release the beta.
Do you need proxy support on an application bases or per webview2 instance?
--
Wil