Parameters
SubnetMask
[out, retval] String containing the current subnet mask of the device, such as “255.255.255.0”.
Net_GetSubnetMaskEx ( NetCard )
Returns the current subnet mask of the network interface specified.
Syntax
HRESULT Net_GetSubnetMask(
[in] long NetCard
[out, retval] BSTR* SubnetMask
);
Parameters
NetCard [in] The ID of the netcard to get the subnet mask from
SubnetMask
[out, retval] String containing the current subnet mask of the device, such as “255.255.255.0”.
Net_PostHtmlData ( Url, PostData )
Sends data to a web server on port 80 via the HTML post mechanism.
Syntax
HRESULT Net_PostHtmlData(
[in] BSTR Url,
[in] BSTR PostData,
[out, retval] BSTR* RetData
);
Parameters
Url
[in] The server address to post to, e.g.
http://waci/rpc
.
PostData
[in] A string that represents the data to send to the server.
RetData
[out, retval] The response send back from the server.
Net_PostHtmlDataEx ( NetCard, Url, IsExpression, PostData, Timeout )
Sends data to a web server. This function is similar to Net_PostHtmlData, but includes two additional
parameters.
Net_PostHtmlDataEx
supports expressions and a timeout value.
Syntax
HRESULT Net_PostHtmlDataEx(
[in] long NetCard
[in] BSTR Url,
[in] long IsExpression,
[in] BSTR PostData,
[in] long Timeout,
[out, retval] BSTR* RetData
);
Parameters
NetCard [in] The ID of the netcard to get the subnet mask from
10