Error: System.ArgumentException: INTERNET_OPTION_PROXY_SETTINGS_CHANGED cannot be used to set options that do not require a value.
at Vanara.PInvoke.WinINet.InternetSetOption(HINTERNET hInternet, InternetOptionFlags option)
at Submission#5.<<Initialize>>d__0.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, StrongBox`1 exceptionHolderOpt, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
Describe the bug and how to reproduce
3.4.17
4.0.0
What code is involved
exception:
Expected behavior No exception as
3.4.17
.