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);
 }
Esempio n. 2
0
 internal LdapSessionOptions(LdapConnection connection)
 {
     _connection               = connection;
     _queryDelegate            = new QUERYFORCONNECTIONInternal(ProcessQueryConnection);
     _notifiyDelegate          = new NOTIFYOFNEWCONNECTIONInternal(ProcessNotifyConnection);
     _dereferenceDelegate      = new DEREFERENCECONNECTIONInternal(ProcessDereferenceConnection);
     _serverCertificateRoutine = new VERIFYSERVERCERT(ProcessServerCertificate);
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 // 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);
Esempio n. 5
0
 public static partial int ldap_set_option_servercert(ConnectionHandle ldapHandle, LdapOption option, VERIFYSERVERCERT outValue);
Esempio n. 6
0
 public static extern int ldap_set_option_servercert([In] ConnectionHandle ldapHandle, [In] LdapOption option, VERIFYSERVERCERT outValue);
Esempio n. 7
0
 public static extern int ldap_set_option_servercert([In] ConnectionHandle ldapHandle, [In] LdapOption option, VERIFYSERVERCERT outValue);