You are here: Symbol Reference > Monnit.Mine Namespace > Gateway Class > Gateway Methods > Gateway.UpdateGatewayIP Method
Gateway.UpdateGatewayIP Method
Gateway Class  Gateway Members  Gateway Methods  Send Feedback

Update the IP information of the gateway (selected gateway types)

Syntax
C++
C#
Visual Basic
void UpdateGatewayIP(string staticIP, string subnet, string defaultRouter, string primaryDNS, string secondaryDNS);
Parameters 
Description 
string staticIP 
IP the gateway will use on the local area network. 
string subnet 
Subnet the gateway will use to communication on the local area network. 
string defaultRouter 
Default router the gateway will send information to if it needs to communicate outside the local area network. 
string primaryDNS 
DNS server used to lookup server host names. (Not used is host is configured with IP Address.) 
string secondaryDNS 
Secondary DNS server used to lookup host names if Primary DNS server is not available.