104
Network Methods
Net_GetNetCardCount ( )
Net_GetNetCardCount ( )
Net_GetNetCardCount ( )
Net_GetNetCardCount ( )
Returns the number of Ethernet ports on the device.
Syntax
HRESULT Net_GetNetCardCount(
[out, retval] long* Count
);
Parameters
Count
[out, retval] The response send back from the server.
Net_GetIPAddress ( )
Net_GetIPAddress ( )
Net_GetIPAddress ( )
Net_GetIPAddress ( )
Returns the current IP address of the device.
Syntax
HRESULT Net_GetIPAddress(
[out, retval] BSTR* IP
);
Parameters
IP
[out, retval] String containing the current IP address of the device, such as “10.0.1.3”.
Net_GetIPAddressEx (
Net_GetIPAddressEx (
Net_GetIPAddressEx (
Net_GetIPAddressEx ( NetCard
NetCard
NetCard
NetCard ))))
Returns the current IP address of the device.
Syntax
HRESULT Net_GetIPAddress(
[in] long NetCard
[out, retval] BSTR* IP
);
Parameters
NetCard [in] The ID of the netcard to get the IP address from
IP
[out, retval] String containing the current IP address of the device, such as “10.0.1.3”.
Net_GetSubnetMask ( )
Net_GetSubnetMask ( )
Net_GetSubnetMask ( )
Net_GetSubnetMask ( )
Returns the current subnet mask of the device.
Syntax
HRESULT Net_GetSubnetMask(
[out, retval] BSTR* SubnetMask
);