Aspose.Diagram.Examples.CSharp.ApplyLicense.ApplyLicenseByPath.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run() 
        {
            // ExStart:ApplyLicenseByPath
            // Set path of the license file, i.e. c:\temp\
            string dataDir = @"c:\temp\";

            License license = new License();
            license.SetLicense(dataDir + "Aspose.Diagram.lic");
            // ExEnd:ApplyLicenseByPath
        }
    }
ApplyLicenseByPath