Downloads and installs barcode add-on (it's typically a zipped dll file) on the local system.
.Addon.Barcode.Download(remoteFile, [optionalAsyncSuccessFunc, optionalAsyncFailureFunc]);
remoteFile: specifies the url path of the add-on. E.g. "http://www.dynamsoft.com/DWT/Resources/Barcode.zip".
The following two parameters are optional. If either one exists or both exist, the method is asynchronous, otherwise it's synchronous.
optionalAsyncSuccessFunc: callback function triggered when the file is downloaded successfully.
optionalAsyncFailureFunc: callback function triggered when the file failed to be downloaded.
Only valid when used synchronously.
true indicates success.
false indicates failure.
The server version number info is defined in the addon JS file. As long as the defined version number is not the same as the local addon dll, the download method will auto get the dll from server deployed to local.