wclWiFiInterfaceSetStaticIp Method |
Sets current IP settings as static IP configuration.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int SetStaticIp(
string Address,
string Mask,
string Gateway,
string Dns1,
string Dns2
)
Public Function SetStaticIp (
Address As String,
Mask As String,
Gateway As String,
Dns1 As String,
Dns2 As String
) As Integer
public:
int SetStaticIp(
String^ Address,
String^ Mask,
String^ Gateway,
String^ Dns1,
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.
See Also