PstReader Constructor (Stream, String)
Creates a new .PST reader and loads .PST database from a stream.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public PstReader(
	Stream pstStream,
	string licenseKey
)

Parameters

pstStream
Type: System.IOStream
The stream containing the .PST database.
licenseKey
Type: SystemString
The license key. Can be a null reference (Nothing in Visual Basic) in case if the product is already unlocked (the license key was specified in app.config, web.config, Windows registry, or in MailBee.Global.LicenseKey property).
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionpstStream is a null reference (Nothing in Visual Basic).
MailBeeStreamExceptionA stream error occurred.
MailBeeLicenseExceptionMailBee.NET Outlook Converter not licensed and the supplied license key is invalid.
See Also