BayesFilterSaveDatabase Method (Stream, Stream) |
Saves the Bayesian database to stream.
Namespace: MailBee.AntiSpamAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public void SaveDatabase(
Stream spamStream,
Stream nonSpamStream
)
Public Sub SaveDatabase (
spamStream As Stream,
nonSpamStream As Stream
)
Parameters
- spamStream
- Type: System.IOStream
An output stream containing spam samples. - nonSpamStream
- Type: System.IOStream
An output stream containing non-spam samples.
Exceptions Remarks
The data format in the stream is the same that is used for files (and the method behaves identically to
SaveDatabase(String, String) with the only difference that streams are used instead of files).
Examples See Also