Open PST
Opens an Outlook Personal Folders (.pst) file for reading.
Code
using DRIT.Mail.Pst.PhysicalLayout;
using var pst = new PstFile("archive.pst");
Console.WriteLine($"PST format: {pst.Format}");
Console.WriteLine($"Message store: {pst.MessageStore}");
Console.WriteLine($"Root folder count: {pst.Folders.Count}");
Remarks
PstFile reads the PST file structure as defined in [MS-PST]. The file is
opened in read-only mode by default. Dispose the PstFile instance when done
to release the underlying file handle.