internal LdapSessionOptions(LdapConnection connection) { this.connection = connection; this.queryDelegate = new QUERYFORCONNECTIONInternal(this.ProcessQueryConnection); this.notifiyDelegate = new NOTIFYOFNEWCONNECTIONInternal(this.ProcessNotifyConnection); this.dereferenceDelegate = new DEREFERENCECONNECTIONInternal(this.ProcessDereferenceConnection); this.serverCertificateRoutine = new VERIFYSERVERCERT(this.ProcessServerCertificate); }
internal LdapSessionOptions(LdapConnection connection) { _connection = connection; _queryDelegate = new QUERYFORCONNECTIONInternal(ProcessQueryConnection); _notifiyDelegate = new NOTIFYOFNEWCONNECTIONInternal(ProcessNotifyConnection); _dereferenceDelegate = new DEREFERENCECONNECTIONInternal(ProcessDereferenceConnection); _serverCertificateRoutine = new VERIFYSERVERCERT(ProcessServerCertificate); }
internal LdapSessionOptions(LdapConnection connection) { this.callbackRoutine = new ReferralCallback(); this.connection = connection; this.queryDelegate = new QUERYFORCONNECTIONInternal(this.ProcessQueryConnection); this.notifiyDelegate = new NOTIFYOFNEWCONNECTIONInternal(this.ProcessNotifyConnection); this.dereferenceDelegate = new DEREFERENCECONNECTIONInternal(this.ProcessDereferenceConnection); this.serverCertificateRoutine = new VERIFYSERVERCERT(this.ProcessServerCertificate); }
// This option is not supported in Linux, so it would most likely throw. internal static int SetServerCertOption(ConnectionHandle ldapHandle, LdapOption option, VERIFYSERVERCERT outValue) => Interop.Ldap.ldap_set_option_servercert(ldapHandle, option, outValue);
public static partial int ldap_set_option_servercert(ConnectionHandle ldapHandle, LdapOption option, VERIFYSERVERCERT outValue);
public static extern int ldap_set_option_servercert([In] ConnectionHandle ldapHandle, [In] LdapOption option, VERIFYSERVERCERT outValue);