Menu

Check PST Password Protection

Shoaib

Aspose.Email - Check PST Password Protection

if (pst.getMessageStoreProperties().contains(MapiPropertyTag.PR_PST_PASSWORD))
{
    long passwordHash = pst.getMessageStoreProperties().get_Item(MapiPropertyTag.PR_PST_PASSWORD).getLong();
    return passwordHash != 0;
}

Download Source Code

For More Examples, Please Visit Aspose Docs


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.