Hi, welcome to Microsoft Q&A.
After initialization, CoreWebView2EnvironmentOptions cannot be modified.
It is recommended that you create a new instance of WebView2 to use the new CoreWebView2EnvironmentOptions.
Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.