USB Network Gate for macOS SDK User Guide

USB Network Gate for macOS SDK User Guide

int Activate(const std::string &key);
Sends activation key to the daemon.   Parameters:   key - activation key given to you on license purchase   Return:   errno error code
Wed, 27 Jul, 2022 at 5:24 PM
int ActivateOffline(const std::string &data);
Sends offline activation data to the daemon.   Parameters:   data - answer on offline request from activation server (base64 encoded)
Wed, 27 Jul, 2022 at 5:24 PM
int getOfflineRequest(const std::string &key);
Requests data from daemon for offline activation.   Note: see onOfflineRequest()
Wed, 27 Jul, 2022 at 5:24 PM
int getVersion();
Requests daemon for its version   Note: See onVersion()
Wed, 27 Jul, 2022 at 5:32 PM
int getCompression();
Requests default compression from daemon   Return:   errno error code   Note: See onCompress()
Wed, 27 Jul, 2022 at 5:32 PM
int setCompression(const std::string &compr);
Sets default compression to daemon   Parameters:   compr - type of compression: none, best or fast   Return:   errno error code
Wed, 27 Jul, 2022 at 5:31 PM
int enumLocalDeviceTree();
Reports all available USB devices via onLocalAddedRemoved (including USB hubs), onLocalDeviceInfo (except USB hubs), followed by onLocalDeviceTreeEnumerated...
Wed, 27 Jul, 2022 at 5:31 PM
int enumSharedDevices();
Reports the state of every shared device via onLocalSharedUnshared, onLocalAcquiredReleased followed by onSharedDevicesEnumerated.   Return:   errno err...
Wed, 27 Jul, 2022 at 5:31 PM
int enumRemoteDevices();
Reports the state of every remote device via onRemoteConnecting, onRemoteConnected, onRemoteReconnecting, onRemoteDisconnecting, onRemoteDisconnected.   T...
Wed, 27 Jul, 2022 at 5:31 PM
int findServers();
Triggers onServerFound for every found server.   Return:   errno error code
Wed, 27 Jul, 2022 at 5:31 PM