2 writes to _authenticationModules
System.Net.Mail (2)
System\Net\Mail\SmtpConnection.Auth.cs (1)
36
_authenticationModules
= authenticationModules;
System\Net\Mail\SmtpConnection.cs (1)
44
_authenticationModules
= authenticationModules;
14 references to _authenticationModules
System.Net.Mail (14)
System\Net\Mail\SmtpConnection.cs (14)
258
for (int i = 0; i <
_authenticationModules
.Length; i++)
261
if (!AuthSupported(
_authenticationModules
[i]))
266
NetworkCredential? credential = _credentials.GetCredential(host, port,
_authenticationModules
[i].AuthenticationType);
270
Authorization? auth = SetContextAndTryAuthenticate(
_authenticationModules
[i], credential, null);
274
info = AuthCommand.Send(this,
_authenticationModules
[i].AuthenticationType, auth.Message);
283
auth =
_authenticationModules
[i].Authenticate(info.Line, null, this, _client.TargetName, null);
292
_authenticationModules
[i].CloseContext(this);
745
while (++_currentModule < _connection.
_authenticationModules
.Length)
748
ISmtpAuthenticationModule module = _connection.
_authenticationModules
[_currentModule];
761
IAsyncResult result = AuthCommand.BeginSend(_connection, _connection.
_authenticationModules
[_currentModule].AuthenticationType, auth.Message, s_authenticateCallback, this);
810
thisPtr._connection.
_authenticationModules
[thisPtr._currentModule].CloseContext(thisPtr._connection);
831
Authorization? auth = _connection.
_authenticationModules
[_currentModule].Authenticate(_authResponse, null, _connection, _connection._client!.TargetName, null);
846
_connection.
_authenticationModules
[_currentModule].CloseContext(_connection);
869
thisPtr._connection.
_authenticationModules
[thisPtr._currentModule].CloseContext(thisPtr._connection);