Assuming that you know the location of the .pst file, you can use
System.IO.FileInfo, see example here:
[
Dotnetperls]
Maybe this will be of help finding the path of the .pst file:
winapi - How to find full path of Outlook .pst file? - Stack Overflow[
^]
When using the above example, be sure to add
Microsoft.Office.Interop.Outlook reference first, then you should import namespace, see explanation here:
Outlook is not declared[
^]