You are here: Symbol Reference > Monnit.Mine Namespace > Gateway Class > Gateway Constructor > Gateway.Gateway Constructor (uint, eGatewayType, string, string, string, int)
Gateway.Gateway Constructor (uint, eGatewayType, string, string, string, int)
Gateway Class  Gateway Members  Gateway Constructor  Send Feedback

Presets these properties 

GatewayType GatewayFirmwareVersion RadioFirmwareVersion Host Port 

Sets all other properties to default values

Syntax
C++
C#
Visual Basic
Gateway(unsigned gatewayID, eGatewayType gatewayType, string gatewayFirmwareVersion, string radioFirmwareVersion, string hostAddress, int port);
Parameters 
Description 
uint gatewayID 
Numerical identifier of the gateway. 
eGatewayType gatewayType 
Type of gateway. 
string gatewayFirmwareVersion 
Gateway firmware version. 
string radioFirmwareVersion 
Radio firmware version. 
string hostAddress 
IP Address or DNS resolvable host name address the gateway uses to communicate to the server. 
int port 
Port the gateway will use to communicate to the server.