Confirming Non-Commercial / Commercial Use

TO SUPPORT MY WORK, ORDER A COMMERCIAL LICENSE
THANK YOU!

Tutorial Math Collection API spec Download

Below is the code for JAVA, the code for C# is almost identical.

Any form of redistribution requires confirmation and signature of the NON-COMMERCIAL USE / COMMERCIAL USE by successfully calling the method
License.iConfirmNonCommercialUse(…)
License.iConfirmCommercialUse(…)
The method call takes place only internally for logging purposes and there is no connection with other external services and no data is sent or collected. The lack of a method call (or its successful call) does not affect the operation of the PRODUCT in any way. Please see the API documentation.

Case 1: Confirming Non-Commercial Use

import org.mariuszgromada.math.mxparser.*;
...
/* Non-Commercial Use Confirmation */
boolean isCallSuccessful = License.iConfirmNonCommercialUse("John Doe");
/* Verification if use type has been already confirmed */
boolean isConfirmed = License.checkIfUseTypeConfirmed();
/* Checking use type confirmation message */
String message = License.getUseTypeConfirmationMessage();
/* ----------- */
mXparser.consolePrintln("isCallSuccessful = " + isCallSuccessful);
mXparser.consolePrintln("isConfirmed = " + isConfirmed);
mXparser.consolePrintln("message = " + message);
[mXparser-v.5.0.4] isCallSuccessful = true
[mXparser-v.5.0.4] isConfirmed = true
[mXparser-v.5.0.4] message = You "John Doe" have confirmed the non-commercial use according to the License.geTermsOfAgreement(). Thank you.

Case 2: Confirming Commercial Use

import org.mariuszgromada.math.mxparser.*;
...
/* Commercial Use Confirmation */
boolean isCallSuccessful = License.iConfirmCommercialUse("John Doe");
/* Verification if use type has been already confirmed */
boolean isConfirmed = License.checkIfUseTypeConfirmed();
/* Checking use type confirmation message */
String message = License.getUseTypeConfirmationMessage();
/* ----------- */
mXparser.consolePrintln("isCallSuccessful = " + isCallSuccessful);
mXparser.consolePrintln("isConfirmed = " + isConfirmed);
mXparser.consolePrintln("message = " + message);
[mXparser-v.5.0.4] isCallSuccessful = true
[mXparser-v.5.0.4] isConfirmed = true
[mXparser-v.5.0.4] message = You "John Doe" have confirmed the commercial use according to the License.geTermsOfAgreement(). Thank you.
Nuget – Package Manager

Install-Package MathParser.org-mXparser -Version 5.0.6

Nuget – .NET CLI

dotnet add package MathParser.org-mXparser --version 5.0.6

Nuget – Package Reference

<PackageReference Include="MathParser.org-mXparser" Version="5.0.6"/>

Maven – Dependency

<dependency>
<groupid>
org.mariuszgromada.math</groupid>
<artifactid>
MathParser.org-mXparser</artifactid>
<version>
5.0.6</version>
</dependency>

Maven – Gradle

implementation 'org.mariuszgromada.math:MathParser.org-mXparser:5.0.6'

Maven – Gradle (Kotlin)

implementation("org.mariuszgromada.math:MathParser.org-mXparser:5.0.6")

GitHub

git clone https://github.com/mariuszgromada/MathParser.org-mXparser

OTHER DOWNLOAD OPTIONS

Download latest release – v.5.0.6 Leonis: .NET bin onlyDownload latest release – v.5.0.6 Leonis: JAVA bin onlyDownload latest release – v.5.0.6 Leonis: bin + doc

NEWS FROM MATHPARSER.ORG
SOURCE CODE

Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl

DONATION
Did you find the software useful?
Please consider donation 🙂
DONATE