Add(Host: String; Port: Integer; AuthProtocol: String; Credential: INetNetworkCredential);
Host. The name or the IP address of the mail server to which the access is provided.
Port. The port, via which the mail server access is provided.
AuthProtocol. The authentication scheme used by the resource.
Credential. The NetworkCredential class that must be added to accounts cache.
The Add method adds the NetNetworkCredential instance to accounts cache.
The method inserts the NetNetworkCredential instance into NetCredentialCache. The cache stores the accounts added in the order of their addition. On the GetCredential method call the relating NetNetworkCredential working instance is returned.
See also: