WiFi Framework C++ Edition

◆ SetStaticIp()

int SetStaticIp ( const tstring Address,
const tstring Mask,
const tstring Gateway,
const tstring Dns1,
const tstring Dns2 
)

Sets current IP settings as static IP configuration.

Parameters
AddressThe current IP address.
MaskThe subnet mask.
GatewayThe default gateway address.
Dns1The first DNS server address.
Dns2The second DNS server address.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.