1 write to _connection
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (1)
154_connection = connection;
56 references to _connection
System.DirectoryServices.Protocols (56)
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (48)
299if (_connection._disposed) 305int error = LdapPal.GetSecInfoOption(_connection._ldapHandle, LdapOption.LDAP_OPT_SSL_INFO, secInfo); 316if (_connection._disposed) 323int error = LdapPal.GetSecurityHandleOption(_connection._ldapHandle, LdapOption.LDAP_OPT_SECURITY_CONTEXT, ref tempHandle); 421if (_connection._disposed) 430if (_connection._disposed) 459if (_connection._disposed) 468if (_connection._disposed) 475int certError = LdapPal.SetClientCertOption(_connection._ldapHandle, LdapOption.LDAP_OPT_CLIENT_CERTIFICATE, _connection._clientCertificateRoutine); 490_connection.AutoBind = false; 501if (_connection._disposed) 510if (_connection._disposed) 517int error = LdapPal.SetServerCertOption(_connection._ldapHandle, LdapOption.LDAP_OPT_SERVER_CERTIFICATE, _serverCertificateRoutine); 538if (_connection._disposed) 549int error = LdapPal.SetIntOption(_connection._ldapHandle, LdapOption.LDAP_OPT_FAST_CONCURRENT_BIND, ref inValue); 565if (_connection._disposed) 605int error = LdapPal.StartTls(_connection._ldapHandle, ref serverError, ref ldapResult, serverControlArray, clientControlArray); 609int resultError = LdapPal.ParseResultReferral(_connection._ldapHandle, ldapResult, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, ref referral, IntPtr.Zero, 0 /* not free it */); 745if (_connection._disposed) 750byte result = LdapPal.StopTls(_connection._ldapHandle); 765if (_connection._disposed) 771int error = LdapPal.GetIntOption(_connection._ldapHandle, option, ref outValue); 779if (_connection._disposed) 785int error = LdapPal.SetIntOption(_connection._ldapHandle, option, ref temp); 792if (_connection._disposed) 798int error = LdapPal.GetPtrOption(_connection._ldapHandle, option, ref outValue); 806if (_connection._disposed) 812int error = LdapPal.SetPtrOption(_connection._ldapHandle, option, ref temp); 819if (_connection._disposed) 825int error = LdapPal.GetPtrOption(_connection._ldapHandle, option, ref outValue); 844if (_connection._disposed) 857int error = LdapPal.SetPtrOption(_connection._ldapHandle, option, ref inValue); 878int error = LdapPal.SetReferralOption(_connection._ldapHandle, LdapOption.LDAP_OPT_REFERRAL_CALLBACK, ref value); 925tempReferralConnection = new LdapConnection(((LdapDirectoryIdentifier)(_connection.Directory)), _connection.GetCredential(), _connection.AuthType, ReferralFromConnection); 935LdapConnection con = _callbackRoutine.QueryForConnection(_connection, tempReferralConnection, NewDN, identifier, cred, tokenValue); 990tempReferralConnection = new LdapConnection(((LdapDirectoryIdentifier)(_connection.Directory)), _connection.GetCredential(), _connection.AuthType, referralFromConnection); 1015tempNewConnection = new LdapConnection(identifier, cred, _connection.AuthType, newConnection); 1024bool value = _callbackRoutine.NotifyNewConnection(_connection, tempReferralConnection, newDN, identifier, tempNewConnection, cred, tokenValue, errorCodeFromBind); 1057dereferenceConnection = new LdapConnection(((LdapDirectoryIdentifier)(_connection.Directory)), _connection.GetCredential(), _connection.AuthType, ConnectionToDereference); 1065_callbackRoutine.DereferenceConnection(_connection, dereferenceConnection); 1107value = _serverCertificateDelegate(_connection, certificate);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.Linux.cs (8)
48if (_connection._disposed) throw new ObjectDisposedException(GetType().Name); 53if (_connection._disposed) throw new ObjectDisposedException(GetType().Name); 94if (_connection._disposed) throw new ObjectDisposedException(GetType().Name); 97int error = LdapPal.GetBoolOption(_connection._ldapHandle, option, ref outValue); 105if (_connection._disposed) throw new ObjectDisposedException(GetType().Name); 107int error = LdapPal.SetBoolOption(_connection._ldapHandle, option, value); 114if (_connection._disposed) throw new ObjectDisposedException(GetType().Name); 116int error = LdapPal.SetStringOption(_connection._ldapHandle, option, value);