Aspose.Cells.Examples.CSharp.Articles.ManagingVBAModules.CheckVbaProjectSigned.Run C# (CSharp) Method

Run() public static method

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

            Workbook workbook = new Workbook(dataDir + "Sample1.xlsx");
            Console.WriteLine("VBA Project is Signed: " + workbook.VbaProject.IsSigned);
            // ExEnd:1
        }
    }
CheckVbaProjectSigned