Initializes a connection to the Simple DNS Plus server using the specified host and port, and a blank password for the Simple DNS Plus HTTP API
Namespace:
JHSoftware.SimpleDNSPlusAssembly: SDNSAPI (in SDNSAPI)
Version: 1.1.0.0 (1.1.0.0)
Syntax
| C# |
|---|
public Connection( string host, int port ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ host As String, _ port As Integer _ ) |
Parameters
- host
- Type: System..::.String
The host name or IP address of the computer running Simple DNS Plus. See Simple DNS Plus Options dialog / HTTP API section
- port
- Type: System..::.Int32
The TCP port number which Simple DNS Plus listens for HTTP API requests on. See Simple DNS Plus Options dialog / HTTP API section