←Select platform

SetLicenseAsync Method

Summary

Sets the runtime license for LEADTOOLS and unlocks support for optional features such as LEADTOOLS Imaging Pro, Document and Medical capabilities, or PDF support. After you have obtained a runtime license and a developer key, you can call Leadtools.RasterSupport.SetLicenseAsync in your application to disable the nag message.

Syntax

C#
VB
WinRT C#
C++
public static IAsyncAction SetLicenseAsync(  
   IRandomAccessStream licenseStream, 
   string developerKey 
) 
Public Shared Function SetLicenseAsync( _ 
   ByVal licenseStream As IRandomAccessStream, _ 
   ByVal developerKey As String _ 
) As IAsyncAction 
public static IAsyncAction SetLicenseAsync(  
   IRandomAccessStream licenseStream, 
   string developerKey 
) 
 function Leadtools.RasterSupport.SetLicenseAsync(  
   licenseStream , 
   developerKey  
) 
public: 
static IAsyncAction^ SetLicenseAsync(  
   IRandomAccessStream^ licenseStream, 
   String^ developerKey 
)  

Parameters

licenseStream
IRandomAccessStreamContaining the LEADTOOLS runtime license to load.

developerKey
Character string containing the developer key.

Return Value

The asynchronous save operation object.

Remarks

You must use this function to set the runtime license for LEADTOOLS and to unlock support for any optional features that you have licensed. If you do not set a RELEASE runtime license, your application will display a "nag" message dialog at runtime, indicating that you have developed the application without a valid runtime license.

In order to obtain a runtime license and developer key, you must contact LEAD. For more information, refer to About LEADTOOLS Runtime Licenses.

For information about LEADTOOLS Document/Medical capabilities, contact LEAD.

To determine if support for optional features has been unlocked, use IsLocked

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly