public static void Run() { string filePath = Constants.SAMPLE_PPTX; string filePathOut = Path.Combine(Constants.GetOutputDirectoryPath(), Constants.SAMPLE_NAME + Path.GetExtension(filePath)); AddPasswordOptions addOptions = new AddPasswordOptions(Constants.SAMPLE_PASSWORD); using (Merger merger = new Merger(filePath)) { merger.AddPassword(addOptions); merger.Save(filePathOut); } Console.WriteLine("Source document password was added successfully."); Console.WriteLine($"Check output {filePathOut}."); }