Visioscan Set SDK Libraries
1.0.28
Visioscan Set SDK Help documentation file for C++ and C++/CLI
Loading...
Searching...
No Matches
NetworkInformation.h
1
#pragma once
2
#include<string>
3
#ifdef RAWDATASENSOR_EXPORTS
4
#define NETINFO __declspec(dllexport)
5
#else
6
#define NETINFO __declspec(dllimport)
7
#endif
8
9
10
using namespace
std;
14
class
NETINFO
NetworkInformation
15
{
16
public
:
21
string
GetIpAddress();
22
27
void
SetIpAddress(
string
pIP);
28
33
int
GetIpPort();
34
39
void
SetIpPort(
int
pPort);
40
41
46
string
GetGateway();
47
52
void
SetGateway(
string
pGateway);
53
58
string
GetSubnetMask();
59
64
void
SetSubnetMask(
string
pSubnetMask);
65
70
bool
GetDhcpMode();
71
76
void
SetDhcpMode(
bool
pEnabled);
77
82
string
GetMacAddress();
83
88
void
SetMacAddress(
string
macdAdress);
89
private
:
90
string
_ipAddress =
""
;
91
int
_port = -1;
92
string
_gateway =
""
;
93
string
_mask =
""
;
94
string
_macAddress =
""
;
95
bool
_dhcp =
false
;
96
};
97
NetworkInformation
Helper to encapsulate the network information.
Definition
NetworkInformation.h:15
RawDataSensor
NetworkInformation.h
Generated by
1.11.0