C# Class Bespoke.DynamicDnsUpdater.Client.DnsOMatic.DnsOMaticClient

Inheritance: DynamicDnsClientBase
Show file Open project: dmarchelya/BespokeDynamicDnsUpdater

Public Methods

Method Description
DnsOMaticClient ( ) : System
DnsOMaticClient ( string username, string password ) : System
UpdateAll ( ) : bool

Updates the all of the hostnames registered with DNS-O-Matic with the public facing IP Address for the system that the request is made from.

UpdateAll ( string ipAddress ) : bool

Updates the all of the hostnames registered with DNS-O-Matic with the specified IP Address.

UpdateHostname ( string hostname, string ipAddress ) : bool

Updates the specified hostname via DNS-O-Matic to the IP Address that is given.

Private Methods

Method Description
CreateUpdateHostnameRequest ( string hostname, string ipAddress ) : HttpWebRequest

Create the HttpWebRequests to update the hostname by initializing the required properties.

Method Details

DnsOMaticClient() public method

public DnsOMaticClient ( ) : System
return System

DnsOMaticClient() public method

public DnsOMaticClient ( string username, string password ) : System
username string
password string
return System

UpdateAll() public method

Updates the all of the hostnames registered with DNS-O-Matic with the public facing IP Address for the system that the request is made from.
public UpdateAll ( ) : bool
return bool

UpdateAll() public method

Updates the all of the hostnames registered with DNS-O-Matic with the specified IP Address.
public UpdateAll ( string ipAddress ) : bool
ipAddress string The IP Address to use for updating the hostnames.
return bool

UpdateHostname() public method

Updates the specified hostname via DNS-O-Matic to the IP Address that is given.
public UpdateHostname ( string hostname, string ipAddress ) : bool
hostname string The hostname to update.
ipAddress string The IP address to use.
return bool