Microsoft SDK for Java

LicenseManager Interface

The LicenseManager Interface of the com.ms.license package serves as a specification for how to implement a license manager. It describes all the facilities needed to perform the licensing function.

public interface LicenseManager
{
  // Methods
  public void decrypt() throws LicenseException;
  public void encrypt() throws LicenseException;
  public LicenseDescriptor[] getLicenseDescriptors();
  public void readLicense(Object obj) throws java.io.IOException;
  public void readLicense(String server) throws java.io.IOException;
  public void writeLicense(PrintStream stream,
        LicenseDescriptor desc[]) throws java.io.IOException;
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.