Click or drag to resize

wclWiFiSoftAPGetIpSettings Method

Gets current IP settings.

Namespace: wclWiFi
Assembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntax
public int GetIpSettings(
	out string Address,
	out string Mask,
	out string Gateway,
	out string Dns1,
	out string Dns2
)

Parameters

Address  String
The current IP address.
Mask  String
The subnet mask.
Gateway  String
The default gateway address.
Dns1  String
The first DNS server address.
Dns2  String
The second DNS server address.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
If the method returns WCL_E_WIFI_INTERFACE_IP_NOT_CONFIGURED then the interface uses system default settings.
See Also