USB Monitoring Control - TODO
Download USB Monitoring Control Hide this button

Library Redistribution Policy

Library redistribution policy largely depends on the purchased license. Detailed information about library redistribution can be found in the Licensing topic. General information is also provided below.

General Library Distribution Information

The USBMC library can be distributed in two ways:

Distribution of the original USBMC installation package.

You are allowed to distribute the original library installation package provided the following is true: the hhdusbmc.exe file is not modified by any means and is accompanied by a link to HHD Software web site. This can be an Internet URL file, a readme file in the same folder or same archive where the hhdusbmc.exe file is located on distribution media. If the file is distributed on the Web Site, the link to HHD Software web site must be on the same page as the link to the hhdusbmc.exe file.

The hhdusbmc.exe file, as all other files available on HHD Software Web Site, is digitally signed. Please verify that the digital signature is still valid before distributing the file. If, on the other side, you somehow received the USB Monitoring Control library and found that signature validation algorithm fails, please be so kind to notify us via our contact page.

Library Redistribution

Two ways of redistributing the library are provided by the current version: manual redistribution and Windows Installer merge module.

Manual Redistribution

To redistribute the library with your application, use the usbmc_redist.exe file, located in the redist\Manual folder.

This is a Win32 executable without any external references. It supports all operating systems starting from Windows 7 (both 32-bit and 64-bit).

Launch this executable on a target computer to install or uninstall the USBMC library and accompanying filter driver.

It automatically installs 32-bit or 64-bit version of components. Below is executable's command line parameters:

usbmc_redist.exe [/q] [/u] [/t <path>] [/?]
OptionDescription
/qQuiet mode. Do not display any user interface. Note that on some operating systems, driver installation prompt may still be displayed.
/uUninstall the library. If not specified, performs library installation.
/t <path>Use the given installation path instead of the default one.
/?Display supported command line parameters.

usbmc_redist.exe must be launched by a user with administrative privileges. The caller must also be elevated. Library installation may be performed by more restricted user if she has write access to destination folder, has write access to system drivers folder (usually \Windows\System32\Drivers) and has been assigned an “Install Device Drivers” privilege.

If /q switch is not specified, a message box with a short description of the result of operation is displayed.

Upon exit, usbmc_redist.exe returns an error code, which must be interpreted as described below:

Error codeMeaning
0 (S_OK)Library installation/uninstallation has been successful.
1 (S_FALSE)Library installation/uninstallation has been successful. Reboot is required to complete the installation.
any otherAny other code must be treated as a standard HRESULT value.

Windows Installer Merge Module

If your application is packaged with Windows Installer, you may use the merge modules provided in the \redist\Merge Module folder. Use the correct module for your target platform (32-bit or 64-bit).

Library Activation on Client Computers

Library activation on client computers is performed in your installation code by calling one of the IUsbMonitor.InstallLicense, IUsbMonitor.InstallLicenseInMemory or IUsbMonitor.InstallLicenseInMemoryNative methods.

NOTE

You are explicitly prohibited from charging any fees for all kinds of library distribution!