42 if (httpProxy !=
null)
46 if (httpsProxy !=
null)
50 if (networkCredential ==
null && networkCredential2 ==
null)
59 if (
string.IsNullOrWhiteSpace(
value))
66 int num =
value.IndexOf(
':');
69 password =
value.Substring(num + 1);
72 num =
value.IndexOf(
'\\');
75 domain =
value.Substring(0, num);
readonly NetworkCredential _httpCred
static NetworkCredential GetCredentialsFromString(string value)
readonly NetworkCredential _httpsCred
HttpEnvironmentProxyCredentials(Uri httpProxy, NetworkCredential httpCred, Uri httpsProxy, NetworkCredential httpsCred)
NetworkCredential GetCredential(Uri uri, string authType)
static HttpEnvironmentProxyCredentials TryCreate(Uri httpProxy, Uri httpsProxy)
override bool Equals([NotNullWhen(true)] object? comparand)
static string UnescapeDataString(string stringToUnescape)