Unified in-app VPN SDK's for Microsoft Windows Vista+, Android 4.4+, Mac OS 10.7+, iOS 9.0+, Ubuntu Linux LTS 18.04+. Earlier OS versions can be supported as well by request. Please contact [email protected] to receive your own API key.

Copyright © 2019 VPNWholesaler.com. All rights reserved.


2.3 CmdProc OS X Example

All SDK functions could be invoked using CmdProc function:

For example for Login function we can use following code:

CmdProc("{\"cmd\" : 1, \"data\" : {\"username\": \"username\", \"password\": \"password\"}}");

Result of this command will be returned using callback method provided on initialization. It will be JSON of the following structure:

    "data": {},
    "err": ERROR_CODE