SetIPAddress
|
|
[in] const char* ip
|
String specifying the ip address of the camera in the IPv4 format (four decimals in the range of 0-255 separated by dots).
|
|
[in] const char* mask
|
String specifying the subnet mask in the IPv4 format. If this parameter is NULL or omitted, the mask of a connected interface will be used.
|
|
[in] const char* gateway
|
String specifying the gateway in the IPv4 format. If this parameter is NULL or omitted, the gateway of a connected interface will be used.
|
|
S_OK
|
Success
|
E_FAIL
|
Failure
|
E_INVALIDARG
|
Wrong IPv4 format
|
|
|
|
m_pCamera->SetIpAddress ("169.254.101.102", "255.255.0.0");
|
m_pCamera->SetMacAddress("AA-11-12-13-14-15");
|
m_pCamera->SetSerialNumber("10001");
|
|