Aspose.Tasks.Examples.CSharp.WorkingWithProjects.CreatingReadingAndSaving.ReadPasswordProtectedProjectFile.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // ExStart:ReadingPasswordProtectedProjectFile
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            Project project = new Project(dataDir + "PasswordProtectedProject.mpp", "password");           
            // ExEnd:ReadingPasswordProtectedProjectFile
        }
    }
ReadPasswordProtectedProjectFile