PstItemGetPstIDFromEntryID Method
Converts EntryID string into PST ID.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.6.0 build 690 for .NET 4.5
Syntax
public static int GetPstIDFromEntryID(
	string entryID
)

Parameters

entryID
Type: SystemString
Hex string denoting an EntryID value.

Return Value

Type: Int32
PST ID.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionentryID is too short or has uneven number of characters or invalid characters (must be hex digits only).
Remarks

You may have an EntryID value for some PST item (obtained from another source). MailBee does not expose EntryID for PST data but it lets you match EntryID values with PST ID values. PST ID is the last 4 bytes of EntryID's binary representation. This helper method provides the conversion mechanism for that:

int pstID = PstItem.GetPstIDFromEntryID("00000000AFE8BC37C5797843ADBF5272655CFFB824002000") (in C# syntax).

See Also