Hevea documentation

CredentialStore.Add Method 

Adds a credential in the store.

public void Add(
   Credential credential,
   bool updateFile
);

Parameters

credential
credential to add
updateFile
true if the config file must be updated

Exceptions

Exception Type Condition
ArgumentNullException credential is null
ArgumentException a credential with the same login already exists
HeveaException the configuration file could not be updated

See Also

CredentialStore Class | Hevea.Core Namespace