Esempio n. 1
0
 // RC0 workaround to freeze credentials when the channel factory is opened
 internal void MakeReadOnly()
 {
     if (_windows != null)
     {
         _windows.MakeReadOnly();
     }
 }
Esempio n. 2
0
        // RC0 workaround to freeze credentials when the channel factory is opened
        internal void MakeReadOnly()
        {
            _isReadOnly = true;

            if (_clientCertificate != null)
            {
                _clientCertificate.MakeReadOnly();
            }
            if (_serviceCertificate != null)
            {
                _serviceCertificate.MakeReadOnly();
            }
            if (_userName != null)
            {
                _userName.MakeReadOnly();
            }
            if (_windows != null)
            {
                _windows.MakeReadOnly();
            }
            if (_httpDigest != null)
            {
                _httpDigest.MakeReadOnly();
            }
        }