System\ServiceModel\Security\SecurityUtils.cs (15)
404if (serverCredential != null && !NetworkCredentialHelper.IsDefault(serverCredential))
1137NetworkCredentialHelper.UnsafeGetDomain(credential), delimiter,
1138NetworkCredentialHelper.UnsafeGetUsername(credential), delimiter,
1139NetworkCredentialHelper.UnsafeGetPassword(credential), delimiter,
1451string username = NetworkCredentialHelper.UnsafeGetUsername(credential);
1452string domain = NetworkCredentialHelper.UnsafeGetDomain(credential);
1462credential = new NetworkCredential(partsWithSlashDelimiter[1], NetworkCredentialHelper.UnsafeGetPassword(credential), partsWithSlashDelimiter[0]);
1469credential = new NetworkCredential(partsWithAtDelimiter[0], NetworkCredentialHelper.UnsafeGetPassword(credential), partsWithAtDelimiter[1]);
1516return NetworkCredentialHelper.IsDefault(credential);
1878if (networkCredential != null && !NetworkCredentialHelper.IsDefault(networkCredential))
1880result = new NetworkCredential(NetworkCredentialHelper.UnsafeGetUsername(networkCredential), NetworkCredentialHelper.UnsafeGetPassword(networkCredential), NetworkCredentialHelper.UnsafeGetDomain(networkCredential));
1893if (NetworkCredentialHelper.IsNullOrEmpty(credential))
2020if (credential == null || NetworkCredentialHelper.IsDefault(credential))