Smtp |
public override Object SyncRoot { get; }
Gets an object that can be used to synchronize access to the SMTP server between multiple threads.
When using SmtpClient methods from multiple threads, it is important to lock the SyncRoot object for thread safety.