Visioscan Set SDK Libraries
1.0.14
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
private
:
78
string
_ipAddress =
""
;
79
int
_port = -1;
80
string
_gateway =
""
;
81
string
_mask =
""
;
82
bool
_dhcp =
false
;
83
84
};
85
NetworkInformation
Helper to encapsulate the network information.
Definition
NetworkInformation.h:15
RawDataSensor
NetworkInformation.h
Generated by
1.9.7