예제 #1
0
 internal WindowsClientCredential(WindowsClientCredential other)
 {
     if (other._windowsCredentials != null)
     {
         _windowsCredentials = SecurityUtils.GetNetworkCredentialsCopy(other._windowsCredentials);
     }
     _allowedImpersonationLevel = other._allowedImpersonationLevel;
     _allowNtlm  = other._allowNtlm;
     _isReadOnly = other._isReadOnly;
 }
 internal HttpDigestClientCredential(HttpDigestClientCredential other)
 {
     _digestCredentials = SecurityUtils.GetNetworkCredentialsCopy(other._digestCredentials);
     _isReadOnly        = other._isReadOnly;
 }
 internal HttpDigestClientCredential(HttpDigestClientCredential other)
 {
     this.allowedImpersonationLevel = other.allowedImpersonationLevel;
     this.digestCredentials         = SecurityUtils.GetNetworkCredentialsCopy(other.digestCredentials);
     this.isReadOnly = other.isReadOnly;
 }
예제 #4
0
 internal HttpDigestClientCredential(HttpDigestClientCredential other)
 {
     _allowedImpersonationLevel = other._allowedImpersonationLevel;
     _digestCredentials         = SecurityUtils.GetNetworkCredentialsCopy(other._digestCredentials);
     _isReadOnly = other._isReadOnly;
 }