2#include <RawDataSensor.h>
23 IpPort = toCopy->IpPort;
24 Gateway = toCopy->Gateway;
25 SubnetMask = toCopy->SubnetMask;
26 DhcpMode = toCopy->DhcpMode;
36 return gcnew String(_info->GetIpAddress().c_str());
46 return _info->GetIpPort();
53 property String^ Gateway {
55 return gcnew String(_info->GetGateway().c_str());
63 property String^ SubnetMask {
65 return gcnew String(_info->GetSubnetMask().c_str());
73 property bool DhcpMode {
75 return _info->GetDhcpMode();
79 _info->SetDhcpMode(x);
91 pComp1->IpPort == pComp2->IpPort &&
92 pComp1->SubnetMask == pComp2->SubnetMask &&
93 pComp1->Gateway == pComp2->Gateway &&
94 pComp1->DhcpMode == pComp2->DhcpMode;
99 pComp1->IpPort != pComp2->IpPort ||
100 pComp1->SubnetMask != pComp2->SubnetMask ||
101 pComp1->Gateway != pComp2->Gateway ||
102 pComp1->DhcpMode != pComp2->DhcpMode;
Definition WUtilities.h:12
Helper to encapsulate the network information.
Definition NetworkInformation.h:15
A wrapper on the NetworkInformation data encapsulation.
Definition WNetworkInformation.h:14
WNetworkInformation()
Definition WNetworkInformation.h:16
property String IpAddress
Definition WNetworkInformation.h:34
WNetworkInformation(WNetworkInformation^ toCopy)
Definition WNetworkInformation.h:20
~WNetworkInformation()
Definition WNetworkInformation.h:30
static char * ConvertToNativeString(String^ toConvert)
Definition WUtilities.h:16