Class AbstractPstMessageStore
Abstract base class for PST message store implementations, providing access to the store-level properties (display name, special folder entry IDs, password hash, etc.).
Inherited Members
Namespace: DRIT.Mail.Pst.MessagingLayer
Assembly: DRIT.Mail.dll
Syntax
public abstract class AbstractPstMessageStore
Properties
View SourceCommonViewsEntryId
Gets or sets the entry identifier of the Common Views special folder.
Declaration
public byte[] CommonViewsEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
DisplayName
Display name of PST
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FinderEntryId
Gets or sets the entry identifier for the folder where search results are typically created.
Declaration
public byte[] FinderEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: Outlook 2013 MAPI Reference PidTagFinderEntryId Canonical Property
IpmInboxEntryId
Gets or sets the entry identifier of the Inbox special folder. [MS-PST] §2.4.3 — PR_IPM_INBOX_ENTRYID (0x35E1).
Declaration
public byte[] IpmInboxEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
IpmOutboxEntryId
Gets or sets the entry identifier of the Outbox special folder. [MS-PST] §2.4.3 — PR_IPM_OUTBOX_ENTRYID (0x35E2).
Declaration
public byte[] IpmOutboxEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
IpmSentMailEntryId
Gets or sets the entry identifier of the Sent Items special folder. [MS-PST] §2.4.3 — PR_IPM_SENTMAIL_ENTRYID (0x35E4).
Declaration
public byte[] IpmSentMailEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
IpmSubTreeEntryId
Gets or sets the entry identifier of the root of the interpersonal message (IPM) folder subtree in the message store's folder tree.
Declaration
public byte[] IpmSubTreeEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: Outlook 2013 MAPI Reference PidTagIpmSubtreeEntryId Canonical Property
IpmWastebasketEntryId
Gets or sets the entry identifier of the standard interpersonal message (IPM) Deleted ByCanonicalName folder.
Declaration
public byte[] IpmWastebasketEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: Outlook 2013 MAPI Reference PidTagIpmWastebasketEntryId Canonical Property
OwnStoreEntryId
Gets or sets the entry identifier of this store's own entry.
Declaration
public byte[] OwnStoreEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
PstBestBodyProptag
Gets or sets the property tag of the preferred body format for messages in this store. [MS-PST] §2.4.3 — PR_PST_BEST_BODY_PROPTAG (0x661D).
Declaration
public int? PstBestBodyProptag { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PstPassword
Gets or sets the CRC-32 password hash stored on the message store.
Set to null or 0 for no password.
Declaration
public int? PstPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-PST 2.4.3 — PidTagPstPassword (PR_PST_PASSWORD).
RecordKey
Record key. This is the Provider UID of this PST.
Declaration
public byte[] RecordKey { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
ValidFolderMask
Gets or sets the bitmask indicating which standard special folders exist in the PST. [MS-PST] §2.4.3 — PR_VALID_FOLDER_MASK (0x35DF).
Declaration
public int? ValidFolderMask { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Methods
View SourceWrite()
Persists the message store properties to the underlying PST.
Declaration
public void Write()