TwclWiFiSoftAP.GetIpSettings(string,string,string,string,string) Method
Gets current IP settings.
public function GetIpSettings(out Address: string; out Mask: string; out Gateway: string; out Dns1: string; out Dns2: string): Integer;
Parameters
- Address
- Type: string
The current IP address.
- Mask
- Type: string
The subnet mask.
- Gateway
- Type: string
The default gateway address.
- Dns1
- Type: string
The first DNS server address.
- Dns2
- Type: string
The second DNS server address.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
If the method returns
WCL_E_WIFI_INTERFACE_IP_NOT_CONFIGURED
then the interface uses
system default settings.