Beispiel #1
0
 public void GetAdditionalEntries()
 {
     using (IPst pstFile = new Pst(@"C:\\Users\\Antonio\\Documents\\Outlook Files\\[email protected]"))
     {
         var addEntries = pstFile.OpenRootFolder().GetAdditionalEntryIds();
     }
 }
Beispiel #2
0
        public void OpenRootFolderTest()
        {
            string  path     = string.Empty;  // TODO: Initialize to an appropriate value
            Pst     target   = new Pst(path); // TODO: Initialize to an appropriate value
            IFolder expected = null;          // TODO: Initialize to an appropriate value
            IFolder actual;

            actual = target.OpenRootFolder();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Beispiel #3
0
        static int Main(string[] args)
        {
            if (args.Length != 1)
            {
                Console.WriteLine(Environment.GetCommandLineArgs()[0] + " <pst-filename>");
                return(-1);
            }
            string path = args[0];

            IPst     store = new Pst(path);
            DateTime lolz  = DateTime.Now;

            process_folder(0, store.OpenRootFolder());
            Console.WriteLine("Total Time Elapsed: " + DateTime.Now.Subtract(lolz));

            Console.ReadKey();

            return(0);
        }