DeliveryStatusParser Constructor (Byte)
Loads DSN XML templates database from XML data and creates DeliveryStatusParser object.

Namespace: MailBee.BounceMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public DeliveryStatusParser(
	byte[] xmlDatabase
)

Parameters

xmlDatabase
Type: SystemByte
Byte array in .xdb format.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionxmlDatabase is a null reference (Nothing in Visual Basic) or an empty string.
Remarks
.xdb file joins the contents of multiple XML files into one. This overload lets you use a single .xdb file as bounce database or load it from the resources of your application. Also, you can load the file asynchronously.
Examples
This code snippet reads the .xdb file and initializes the DeliveryStatusParser.
DeliveryStatusParser parser = new DeliveryStatusParser(File.ReadAllBytes(@"C:\Program Files\MailBee.NET Objects\BounceDatabase\bouncedatabase.xdb"));
See Also