|
About the LSAPI
This is a pre-release version of the LSAPI code and documentation. The
documentation is meant to accompany technology that is still in development. Some of the information in this documentation may be inaccurate or may not be an accurate representation of the functionality of the final technology. Microsoft assumes no responsibility for any damages that might occur either directly or indirectly
from these inaccuracies.
License systems provide a management layer that can track the rights to use
purchased software. You can incorporate license verification in your product by
using the License Service Application Programming Interface (LSAPI) version
1.10, a set of functions that provides licensing services within applications. The
LSAPI specification provides a standard interface between LSAPI-enabled
software and LSAPI-compliant software licensing products. An LSAPI-enabled application
is one that uses calls to the LSAPI function layer to register license usage.
An LSAPI-compliant licensing system is one that conforms to the LSAPI standard.
Applications can gain access to the LSAPI interface through the dynamic-link
library, LSAPI32.DLL.
The LSAPI-compliant model includes the following basic components:
- An LSAPI-enabled desktop application
- The standard LSAPI function layer
- An LSAPI-compliant license product that includes a database for storing
license data, and access "tokens" that serve as digital license certificates
The standard LSAPI functions are listed following.
Function
| Description
| LSEnumProviders
| Returns a unique string for each installed license system service provider.
| LSFreeHandle
| Frees the handle to the license context.
| LSGetMessage
| Returns the message string associated with a license service function status
code.
| LSQuery
| Returns information about the service provider or the license system context
associated with the specified handle obtained by the LSRequest call.
| LSRelease
| Requests that the license system release the licensing resources associated
with a specific license context.
| LSRequest
| Requests that the license system grant the licensing resources so the calling
application can execute.
| LSUpdate
| Updates the synchronization between the licensed application and the license
system.
|
The LSAPI standardizes access to, and use of, the primary features common to
many licensing products. These include the ability to request that the licensing
system grant the application software rights to run, release those rights when
they are no longer needed, and update the state of the licensing resources
granted to the software product.
The LSAPI also provides a standard software development approach to software
license management. Because all LSAPI-compliant license service providers
support the same API, applications can use one interface to communicate with all
LSAPI-compliant license servers. Developers can isolate code from license policy;
the policy can be handled by the licensing system rather than by the
application. The LSAPI allows you to develop a single package that cooperates with
multiple licensing systems. You only need to change existing product code once to
incorporate the licensing functions; the platform and the networking environment
can change, but you do not need to rewrite the desktop application. This provides
license system independence, and multiple license providers can be used at one
time.
LSAPI-enabled Windows applications running on Windows 95 and Windows NT will
also interface with other LSAPI-compliant license servers, without
modifications.
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|