Documentation
Table of contents

Thanks for downloading Dynamsoft Label Recognizer Package!

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

.Net API Reference - Initialization

Method Description
LabelRecognition Initialization of LabelRecognition object.
Dispose Destroys an instance of LabelRecognition object.
InitLicense Sets product key and activates the SDK.
InitLicenseFromLTS Initializes the label recognition license and connects to the specified server for online verification.
InitLTSConnectionParameters Initializes a DMLTSConnectionParameters struct with default values.

LabelRecognition()

Initialization of LabelRecognition object.

Dynamsoft.DLR.LabelRecognition.LabelRecognition()

Exceptions

DLR_Exception

Code Snippet

LabelRecognition recognizer = new LabelRecognition();
recognizer.InitLicense("t0260NwAAAHV***************");

 

Dispose

Destroys an instance of Dynamsoft Label Recognizer.

void Dynamsoft.DLR.LabelRecognition.Dispose()	

Code Snippet

LabelRecognition recognizer = new LabelRecognition();
recognizer.InitLicense("t0260NwAAAHV***************");
recognizer.Dispose();

InitLicense

Sets product key and activate the SDK.

void Dynamsoft.DLR.LabelRecognition.InitLicense(string license)

Parameters license: The product keys.

Exceptions

DLR_Exception

Code Snippet

LabelRecognition recognizer = new LabelRecognition();
recognizer.InitLicense("t0260NwAAAHV***************");
recognizer.Dispose();

 

InitLTSConnectionParameters

Initializes a DMLTSConnectionParameters struct with default values.

static DMLTSConnectionParameters Dynamsoft.DLR.LabelRecognition.InitLTSConnectionParameters()

Code Snippet

DMLTSConnectionParameters ltsInfo = LabelRecognition.InitLTSConnectionParameters();
ltsInfo.HandShake = "*****-hs-****";
ltsInfo.SessionPassword = "******";
LabelRecognition.InitLicenseFromLTS(info);
LabelRecognition recognizer = new LabelRecognition();
recognizer.Dispose();

 

InitLicenseFromLTS

Initializes the label recognition license and connects to the specified server for online verification.

static void Dynamsoft.DLR.LabelRecognition.InitLicenseFromLTS(DMLTSConnectionParameters ltsConnectionParameters)

Parameters

  • ltsConnectionParameters: The struct DMLTSConnectionParameters with customized settings.

Exceptions DLR_Exception

Code Snippet

DMLTSConnectionParameters ltsInfo = LabelRecognition.InitLTSConnectionParameters();
info.handShakeCode = "*****-hs-****";
info.sessionPassword = "******";
LabelRecognition.InitLicenseFromLTS(info);
LabelRecognition recognizer = new LabelRecognition();
recognizer.Dispose();

 

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(3.2.20)
    • Version 3.x
      • Version 3.2.10
      • Version 3.2.0
      • Version 3.0.30
      • Version 3.0.20
      • Version 3.0.10
      • Version 3.0.0
    • Version 2.x
      • Version 2.2.20
      • Version 2.2.11
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.0
      • Version 2.2.20
      • Version 2.2.11
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.0
      • Version 2.0.0
      • Version 2.0.0
    • Version 1.x
      • Version 1.2.1
      • Version 1.2
      • Version 1.0
      • Version 1.2.1
      • Version 1.2
      • Version 1.0
      • Version 1.2.1
      • Version 1.2
      • Version 1.0
      • Version 1.2.1
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support