Aspose.Words.Examples.CSharp.Programming_Documents.Working_With_Document.ProtectDocument.Run C# (CSharp) Méthode

Run() public static méthode

public static Run ( ) : void
Résultat void
        public static void Run()
        {            
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_WorkingWithDocument();
            dataDir = dataDir + "ProtectDocument.doc";

            Protect(dataDir);
            UnProtect(dataDir);
            GetProtectionType(dataDir);
        }
        /// <summary>