라이센스
Aspose.Tasks 평가 **
C ++ 용 Aspose.Tasks 의 무료 평가 버전은 Aspose 웹 사이트의 다운로드 섹션에서 다운로드 할 수 있습니다.
평가 버전 제한없이 Aspose.Tasks 를 테스트하려면 30 일 임시 라이센스를 요청할 수도 있습니다. 임시 라이센스를 얻는 방법를 참조하십시오.
PDF 제작자 정보
- Aspose Ltd.와 Aspose.Tasks 에 대한 응용 프로그램 및 생산자 필드에 대해 값을 설정할 수는 없습니다.
평가 제한
평가 버전은 다음을 제외한 모든 기능을 제공합니다.
DateTime 제한
날짜 연도는 다음 코드 예제에 설명 된대로 Aspose.Tasks 를 통해 작성 될 프로젝트에서 2000으로 전환됩니다. 이 예제는 라이센스 파일을 사용하지 않고 Aspose.Tasks for c ++를 통해 두 가지 작업이 포함 된 프로젝트를 만들려고합니다.
코드에서 생성 된 프로젝트 파일은 Microsoft Project의 아래의 프로젝트 파일처럼 보입니다. Task1의 시작 및 마감 날짜는 06-Apr-2010에서 06-APR-2000으로 변환되었습니다. 마찬가지로, TASK2의 시작 및 마감 날짜는 2010 년 10 월 -2010 년에서 10-APR-2000으로 변환되었습니다. 이 날짜는 라이센스가 부여 된 Aspose.Tasks for C ++ 버전을 사용하여 프로젝트를 작성하는 경우 동일한 원래 연도로 작성됩니다.
**Date changes in the evaluation version of Aspose.Tasks ** |
---|
![]() |
MPP Write Support
Aspose.Tasks for C++ supports reading MPP files, updating the project summary information and then writing updated project files in original MPP format. That is if original MPP format belongs to Microsoft Project 2003 version, the MPP file updated through Aspose.Tasks for C++ API will also be in Microsoft Project 2003 MPP format. The same is valid for Microsoft Project 2007, 2010 and 2013 MPP formats. However, this support is only available in licensed versions of Aspose.Tasks for C++.
Applying the License
Once you are happy with your evaluation of Aspose.Tasks for C++, buy a license at the Aspose website. Make yourself familiar with the different licenses offered. If you have any questions, contact the Aspose sales team and they’ll be happy to help you.
Every Aspose license carries a one-year subscription for free upgrades to any new versions or fixes that come out during this time. Technical support is free and unlimited and provided both to licensed and evaluation users.
The license is a plain-text XML file that contains details such as the product name, number of licensed developers, subscription expiry date and so on. The file is digitally signed, so do not modify the file: even adding an extra line break to the file invalidates it.
When to Apply a License
Follow these simple rules:
- The license only needs to be set once per application domain.
- You need to set the license before using any other Aspose.Tasks for C++ classes.
- Calling SetLicense multiple times is not harmful but wastes processor time.
- If you are developing a Windows Forms or console application, call SetLicense in your startup code, before using Aspose.Tasks for C++ classes.
- Do not call SetLicense from within the Page_Load methods since it means the license will be loaded every time a web page is loaded.
- If you are developing a class library, call SetLicense from a static constructor of your class that uses Aspose.Tasks . The static constructor executes before an instance of your class is created making sure that the Aspose.Tasks for C++ license is properly set.
Applying a License
Use the License.SetLicense method to licensing the component. The easiest way to set a license is to put the license file in the same folder as the Aspose.Tasks .dll and specify the file name, without a path, as shown below.
Applying a License Using File or Stream
This code snippet initializes a license stored in a file or in an embedded resource.
This code snippet initializes a license from a stream.
Applying Licensing Using an Embedded Resource
Another neat way of packaging the license with your application and making sure it will not be lost, is to include it as an embedded resource into one of the assemblies that call the component’s DLL (included in Aspose.Email). To include the license file as an embedded resource, perform the following steps:
- In Visual Studio .NET, including the license (.lic) file into the project using the Add Existing Item on the File menu.
- Select the file in the Solution Explorer.
- Set Build Action to Embedded Resource in the Properties window.
To access the license embedded in the assembly (as an embedded resource), you don’t have to call the Microsoft .NET Framework’s System.Reflection.Assembly class’ GetExecutingAssembly and GetManifestResourceStream methods. Instead, just add the license file as an embedded resource to your project and pass the name of the license file to the License class’ SetLicense method. The License class will automatically find the license file in the embedded resources.