SocketTools .NET Edition

SmtpClient.Initialize Method ()

Initialize an instance of the SmtpClient class.

[Visual Basic]
Overloads Public Function Initialize() As Boolean
[C#]
public bool Initialize();

Return Value

A boolean value which specifies if the class was initialized successfully.

Remarks

The Initialize method can be used to explicitly initialize an instance of the SmtpClient class, loading the networking library and allocating resources for the current thread. Typically it is not necessary to explicitly call this method because the instance of the class is initialized by the class constructor. However, if the Uninitialize method is called, the class must be re-initialized before any other methods are called.

See Also