public static void ExtractPst(string pstFilePath, string folderPath) { if (pstFilePath == null) { throw new ArgumentNullException("pstFilePath"); } RDOSession session = new RDOSession(); RDOPstStore store = session.LogonPstStore(pstFilePath); ExtractPstFolder(store.RootFolder, folderPath); }
static void Main(string[] args) { RDOSession session = new RDOSession(); RDOPstStore store = session.LogonPstStore(@"c:\backup.pst"); //RDOPstStore store = session.Stores.AddPSTStore(@"c:\backup.pst"); }