Aspose.Tasks.Examples.CSharp.Licensing.ApplyLicenseUsingStream.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // ExStart:ApplyLicenseUsingStream
            Aspose.Tasks.License license = new Aspose.Tasks.License();
            FileStream myStream = new FileStream("Aspose.Tasks.lic", FileMode.Open);
            license.SetLicense(myStream);
            // ExEnd:ApplyLicenseUsingStream
        }
    }
ApplyLicenseUsingStream