Aspose.Cells.Examples.CSharp.Articles.WorkingWithHTMLFormat.ExportedWorkSheetViaIFilePathProvider.SetLicense C# (CSharp) Method

SetLicense() static private method

static private SetLicense ( ) : void
return void
        static void SetLicense()
        {
            string licPath = @"Aspose.Cells.lic";

            Aspose.Cells.License lic = new Aspose.Cells.License();
            lic.SetLicense(licPath);

            Console.WriteLine(CellsHelper.GetVersion());
            System.Diagnostics.Debug.WriteLine(CellsHelper.GetVersion());

            Environment.CurrentDirectory = dirPath;
        }
ExportedWorkSheetViaIFilePathProvider