2
有沒有辦法檢查一個microsoft outlook pst文件是否使用密碼保護或者不使用c#。 我想使用下面的代碼讀取pst文件。檢查pst文件是否受密碼保護
Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application();
Microsoft.Office.Interop.Outlook.NameSpace outlookNs = app.GetNamespace("MAPI");
Microsoft.Office.Interop.Outlook.MAPIFolder emailFolder = outlookNs.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox);
http://stackoverflow.com/questions/15124834/check-if-a-pst-file-is-password-protected-with-java-libpst – 2013-03-08 06:14:31