private InvokeManualSaslAuthenticationRequired ( |
||
credential | The credentials provided by the user. | |
client | The current instance of the client, responsible for the connection. | |
Результат | bool |
internal bool InvokeManualSaslAuthenticationRequired(NetworkCredential credential, ImapClient client)
{
var handler = ManualSaslAuthenticationRequired;
if (handler != null) {
var e = new ManualSaslAuthenticationRequiredEventArgs(credential, client);
handler(this, e);
return e.IsAuthenticated;
}
return false;
}