com.websina.client
Class LicenseClient
java.lang.Object
com.websina.client.LicenseClient
- public class LicenseClient
- extends java.lang.Object
Test the LicenseManager and how to use it.
Simply put, in your program, you first get an instance of the LicenseManager,
and then call isValid(), if it returns true, your program starts, otherwise,
your program exits.
Note that, isValid() is validing the license file you generated and sent
to your customer, and this file has to be in your program's classpath.
- Since:
- 1.0
Method Summary |
static void |
main(java.lang.String[] args)
|
java.lang.String |
test()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LicenseClient
public LicenseClient()
test
public java.lang.String test()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception