INetCredentialCache.Add

Syntax

Add(Host: String; Port: Integer; AuthProtocol: String; Credential: INetNetworkCredential);

Parameters

Host. Name or IP address of the mail server, to which the access is provided.

Port. The port, via which the mail server access is provided.

AuthProtocol. Authentication scheme used by the resource.

Credential. The INetworkCredential instance that must be added to accounts cache.

Description

The Add method adds the INetNetworkCredential instance to accounts cache.

Comments

This method inserts the INetNetworkCredential instance to INetCredentialCache. The cache stores the accounts added in the order of their addition. When theGetCredential method is called, it returns the corresponding current instance of INetNetworkCredential.

See also:

INetCredentialCache