This example demonstrates how to load a password-protected document.
advanced_usage.loadIng_files.LoadPasswordProtectedDocument
// Specify the password Loadoptions Loadoptions = new Loadoptions(); Loadoptions.setPassword("123"); // Constants.ProtectedDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" try (Metadata metadata = new Metadata(Constants.ProtectedDocx, Loadoptions)) { // Extract, edit or remove metadata here } More resources GitHub examples You may easily run the code above and see the feature In action In our GitHub examples:...Comparison Product Solution GroupDocs...password LoadOptions loadOptions = new LoadOptions (); loadOptions...