This section describes how to extract password-protected container files by using the .NET API. The following guidelines apply to specific file types.
pstsr
). The native PST reader (pstnsr
) returns the error message KVERR_PasswordProtected
if a PST is encrypted with high encryption.To open container files
Set the credential information to an ExtractOpenDocConfig
object, and pass it to the ExtractOpenDocument
method. For example:
odconfig = new ExtractOpenDocConfig(); odconfig.Password = m_password; extContextID = m_objFilter.ExtractOpenDocument(inFile, odconfig);
|