// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.
+#nullable enable
+
using System;
using System.ComponentModel;
using System.Diagnostics;
private struct InternetProxyInfo
{
public InternetOpenType dwAccessType;
- public string proxy;
- public string proxyBypass;
+ public string? proxy;
+ public string? proxyBypass;
}
private enum InternetOpenType
PROXY = 3, // Custom
}
- private static void RefreshProxySettings(string strProxy)
+ private static void RefreshProxySettings(string? strProxy)
{
InternetProxyInfo ipi;
public static void SetProxy(ProxyType pType, string host, int port)
{
- string proxy = null;
+ string? proxy = null;
switch (pType)
{
case ProxyType.IE: