![]() |
Atlas-Cronos
7.2.0
|
Base class for IP configuration. More...
Public Member Functions | |
IpConfigError | Connect () |
Connect to the camera device. More... | |
void | Disconnect () |
Disconnect the camera device. More... | |
IpConfigError | SetIp (string ip) |
Change the IP address. More... | |
IpConfigError | SetIp (string ip, string subnetMask, string gateway) |
Change the IP settings. More... | |
IpConfigError | EnableDhcp () |
Enable DHCP. More... | |
Properties | |
IpConfigError | Error [get] |
Gets the Error state More... | |
bool | IsDhcpValid [get] |
Check if it is possible to change the DHCP setting. More... | |
bool | IsDhcpEnabled [get] |
Check if DHCP is enabled. More... | |
string | DefaultGateway [get] |
Device default gateway. More... | |
string | SubnetMask [get] |
Device subnet mask. More... | |
Base class for IP configuration.
See the "IP Config" sample for how to use this class.
|
inline |
Connect to the camera device.
|
inline |
Disconnect the camera device.
|
inline |
Enable DHCP.
Gigabit cameras can only set DHCP if connected to a valid IP address. Check IsDhcpValid before using this property. If the gigabit camera is unreachable you first need to use a valid static IP address before it is possible to change the DHCP setting.
InvalidOperationException |
|
inline |
Change the IP address.
ip | the new IP address i.e. "192.168.0.1". |
The current subnet mask and gateway will be used.
|
inline |
Change the IP settings.
ip | The new IP address i.e. "192.168.0.1" |
subnetMask | The new subnet mask i.e. "255.255.255.0" |
gateway | The new default gateway. |
InvalidOperationException | Call connect before using SetIp. |
|
get |
Device default gateway.
InvalidOperationException |
|
get |
Gets the Error state
|
get |
Check if DHCP is enabled.
Gigabit cameras can only set DHCP if connected to a valid IP address. Check IsDhcpValid before using this property. If the gigabit camera is unreachable you first need to use a valid static IP address before it is possible to change the DHCP setting.
|
get |
Check if it is possible to change the DHCP setting.
Gigabit cameras can only change the DHCP setting if connected to a valid IP address.
|
get |
Device subnet mask.
InvalidOperationException |