PPT PPTX ODP POT ppsx
Aspose.Slides  for .NET
PPT

Unlock PPT using C#

Build your own .NET apps to remove passwords from PowerPoint and decrypt presentations files using server-side APIs.

Removing Encryption from PPT Presentation via C#

Using Aspose.Slides for .NET, you can remove the encryption or password protection on the PPT presentation. This way, users become able to access or modify the PPT presentation without restrictions.

Disabling Password Protection from PPT using C#


LoadOptions loadOptions = new LoadOptions {Password = "123123"};
using (Presentation presentation = new Presentation("pres.ppt", loadOptions))
{
    presentation.ProtectionManager.RemoveEncryption();
    presentation.Save("encryption-removed.ppt", SaveFormat.Ppt);
}

Removing Write Protection from PPT Presentation using C#


using (Presentation presentation = new Presentation("pres.ppt"))
{
    presentation.ProtectionManager.RemoveWriteProtection();
    presentation.Save("write-protection-removed.ppt", SaveFormat.Ppt);
}

How to Remove Password From PPT via C#

These are the steps to remove protection from PPT files.

  1. Load PPT with an instance of Presentation

  2. Remove Write Protection using ProtectionManager class

  3. Save result in PPT format

Other Supported Formats

Using C#, You can also remove protection from the following formats: