PPT
PPTX
ODP
POT
ppsx
PPTX
Unlock PPTX using C#
Build your own .NET apps to remove passwords from PowerPoint and decrypt presentations files using server-side APIs.
Removing Encryption from PPTX Presentation via C#
Using Aspose.Slides for .NET, you can remove the encryption or password protection on the PPTX presentation. This way, users become able to access or modify the PPTX presentation without restrictions.
Disabling Password Protection from PPTX using C#
LoadOptions loadOptions = new LoadOptions {Password = "123123"};
using (Presentation presentation = new Presentation("pres.pptx", loadOptions))
{
presentation.ProtectionManager.RemoveEncryption();
presentation.Save("encryption-removed.pptx", SaveFormat.Pptx);
}
Removing Write Protection from PPTX Presentation using C#
using (Presentation presentation = new Presentation("pres.pptx"))
{
presentation.ProtectionManager.RemoveWriteProtection();
presentation.Save("write-protection-removed.pptx", SaveFormat.Pptx);
}
How to Remove Password From PPTX via C#
These are the steps to remove protection from PPTX files.
Load PPTX with an instance of Presentation
Remove Write Protection using ProtectionManager class
Save result in PPTX format