USB Network Gate for Linux SDK User Guide

USB Network Gate for Linux SDK User Guide

bool encryption() const;
Returns true if traffic encryption is enabled
Sun, 20 Mar, 2022 at 5:08 PM
void setEncryption(bool encr);
Enables/disables encryption   encr - true if you need to enable encryption, false if you need to disable encryption   Note: When turning off the traffic e...
Sun, 20 Mar, 2022 at 5:04 PM
bool compression() const;
Returns true if traffic compression is enabled
Sun, 20 Mar, 2022 at 5:05 PM
void setCompression(bool compr);
Enables/disables traffic compression compr - true if you need to enable compression, false if you need to disable compression
Sun, 20 Mar, 2022 at 5:05 PM
bool hasPassword() const;
Returns true if password is set
Sun, 20 Mar, 2022 at 5:06 PM
std::string password() const;
Returns password
Sun, 20 Mar, 2022 at 5:06 PM
void setPassword(const std::string &cleartext);
Sets password (automatically switches the authentication flag depending on whether password is empty or not, see setAuthorization)    Parameters:    cl...
Sun, 20 Mar, 2022 at 5:06 PM
std::string sharedWith() const;
Returns address of the host connected to the shared device
Sun, 20 Mar, 2022 at 5:07 PM
void setSharedWith(const std::string &peername);
Sets address of the host connected to the shared device   Parameters:   peername - host’s address
Sun, 20 Mar, 2022 at 5:07 PM
bool allowRDisconnect() const;
Returns true if any remote client is allowed to disconnect the shared device from other clients
Sun, 20 Mar, 2022 at 5:07 PM