Gets the current IP address of the interface.
- Parameters
-
| Static | True if the interface uses static IP configuration. False if the interface uses DHCP. |
| Address | The current IP address. |
| Mask | The subnet mask. |
| Gateway | The default gateway address. |
| Dns1 | The first DNS server address. |
| Dns2 | The 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.