PstReader Constructor (String, String)
Creates a new .PST reader, unlocks it and loads .PST database from the specified file.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public PstReader(
	string pstFilePath,
	string licenseKey
)

Parameters

pstFilePath
Type: SystemString
The path to the file 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
MailBeeInvalidArgumentExceptionpstFilePath is a null reference (Nothing in Visual Basic) or an empty string.
MailBeeIOExceptionAn I/O error occurred.
MailBeeLicenseExceptionMailBee.NET Outlook Converter not licensed and the supplied license key is invalid.
See Also