public static void Run()
{
// ExStart:OpenEncryptedDocument
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadingAndSaving();
// Loads encrypted document.
Document doc = new Document(dataDir + "LoadEncrypted.docx", new LoadOptions("aspose"));
// ExEnd:OpenEncryptedDocument
Console.WriteLine("\nEncrypted document loaded successfully.");
}
}