Resource Base
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

DSLicenseManager

The DSLicenseManager class provides a set of APIs to manage SDK licensing.

Definition

Assembly: DynamsoftLicense.framework

  • Objective-C
  • Swift
  1. @interface DSLicenseManager:NSObject
    
  2. class LicenseManager : NSObject
    

Methods

Method Description
initLicense Initializes the license for the application using a license key.
setDeviceFriendlyName Assigns a distinctive name to the device, correlating it with its UUID.
getDeviceUUID Get the unique identifier of the device.

initLicense

Initializes the license for the application using a license key.

  • Objective-C
  • Swift
  1. + (void)initLicense:(NSString* )license verificationDelegate:(id<DSLicenseVerificationListener> _Nullable)delegate;
    
  2. class func initLicense(_ license: String, verificationDelegate delegate: DSLicenseVerificationListener?)
    

Parameters

license: The license key to be used for initialization.

delegate: An delegate object of DSLicenseVerificationListener to monitor the license activation status.

setDeviceFriendlyName

Assigns a distinctive name to the device, correlating it with its UUID.

  • Objective-C
  • Swift
  1. + (void)setDeviceFriendlyName:(NSString* )name;
    
  2. class func setDeviceFriendlyName(_ name: String)
    

Parameters

name: A string representing the device which is easier to recognize than its UUID.

getDeviceUUID

Get the unique identifier of the device.

  • Objective-C
  • Swift
  1. + (NSString *)getDeviceUUID;
    
  2. class func getDeviceUUID() -> String
    

Return Value

The unique identifier of the device.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.x
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
    • Version 1.x
      • Version 1.2.1
      • Version 1.2.0
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
      • Version 1.1.11
      • Version 1.1.9
      • Version 1.1.8
      • Version 1.1.7
      • Version 1.1.6
      • Version 1.1.5
      • Version 1.1.4
      • Version 1.1.3
      • Version 1.1.2
      • Version 1.1.1
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support