PstReadOptions Class
The options of PstFile. The limits protect the reader from files crafted to make it use too much memory or time.
public sealed class PstReadOptionsConstructors
| Name | Description |
|---|---|
| PstReadOptions() |
PstReadOptions()
PstReadOptions.cspublic PstReadOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| CacheSize | Gets or sets the maximum number of pages and blocks kept in memory. The default is 256. |
| MaxEmbeddedMessageDepth | Gets or sets the maximum depth of embedded messages (a message attached to a message). The default is 32. |
| MaxPropertySize | Gets or sets the maximum size, in bytes, of a property value or a structure the reader loads in memory. The default is 256 MB. Attachment contents read with MapiAttachment.OpenRead are not limited. |
| MaxTreeDepth | Gets or sets the maximum number of levels of the B-trees (pages, data trees, subnode trees, heaps). The default is 32. |
| VerifyChecksums | Gets or sets whether the reader checks the CRC of the pages and the blocks it reads. The default is true. |
CacheSize
PstReadOptions.csMaxEmbeddedMessageDepth
PstReadOptions.csMaxPropertySize
PstReadOptions.csGets or sets the maximum size, in bytes, of a property value or a structure the reader loads in memory. The default is 256 MB. Attachment contents read with MapiAttachment.OpenRead are not limited.
public long MaxPropertySize { get; set; }