SpamAnalyzer.SaveDatabase

SaveDatabase(string)

Saves the Bayesian database to file.

public void SaveDatabase(string filePath)
ParameterTypeDescription
filePathStringThe full or relative path to the file containing Bayesian database.

Exceptions

exceptioncondition
ArgumentExceptionIf filePath is null or an empty string.

See Also


SaveDatabase(Stream)

Saves the Bayesian database to stream.

public void SaveDatabase(Stream stream)
ParameterTypeDescription
streamStreamAn output stream containing Bayesian database.

Exceptions

exceptioncondition
ArgumentNullExceptionIf stream is null.

See Also