Update the information the gateway uses to communicate with the server
Namespace: Monnit.MineAssembly: MonnitMineAPI (in MonnitMineAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void UpdateServerInformation( string host, ushort port ) |
| Visual Basic |
|---|
Public Sub UpdateServerInformation ( host As String, port As UShort ) |
| Visual C++ |
|---|
public: void UpdateServerInformation( String^ host, unsigned short port ) |
| F# |
|---|
member UpdateServerInformation : host : string * port : uint16 -> unit |
Parameters
- host
- Type: System..::..String
IP Address or DNS resolvable host name of the server to communicate with
- port
- Type: System..::..UInt16
Port of the server to communicate with