C# 클래스 Bespoke.DynamicDnsUpdater.Client.DynamicDnsClientBase

파일 보기 프로젝트 열기: dmarchelya/BespokeDynamicDnsUpdater 1 사용 예제들

공개 메소드들

메소드 설명
HasIpAddresssChanged ( string hostname, string ipAddress ) : bool

Checks if the given IP Address has changed from the last update.

InitializeLastUpdateIpAddresses ( ) : void
InitializeLastUpdateIpAddresses ( string hostnames ) : void

Initialize the LastUpdateIpAddresses collection with the current IP Address (in DNS) for each of the given hostnames. This can be used when the client is run for the first time, when we don't have a record of what the previous IP Address was that was sent to DNS-O-Matic. This way we won't have to attempt to update the IP Address, if the current DNS entry matches the current IP Address.

IsValidIpAddress ( string ipAddress ) : bool
UpdateHostname ( string hostname ) : bool

Updates the specified hostname via DNS-O-Matic with the public facing IP Address for the system that the request is made from.

UpdateHostname ( string hostname, string ipAddress ) : bool
UpdateHostnames ( List hostnames ) : bool

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

UpdateHostnames ( List hostnames, string ipAddress ) : bool

Updates the specified hostnames via DNS-O-Matic with the IP Address that is specified.

UpdateHostnames ( string hostnames ) : bool

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

UpdateHostnames ( string hostnames, string ipAddress ) : bool

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

보호된 메소드들

메소드 설명
HostnamesToList ( string hostnames ) : List

Takes a comma seperated string of hostnames and converts it to a List of hostnames.

메소드 상세

HasIpAddresssChanged() 공개 메소드

Checks if the given IP Address has changed from the last update.
public HasIpAddresssChanged ( string hostname, string ipAddress ) : bool
hostname string The hostname that we are checking for an update.
ipAddress string The current IP Address.
리턴 bool

HostnamesToList() 보호된 정적인 메소드

Takes a comma seperated string of hostnames and converts it to a List of hostnames.
protected static HostnamesToList ( string hostnames ) : List
hostnames string
리턴 List

InitializeLastUpdateIpAddresses() 공개 메소드

public InitializeLastUpdateIpAddresses ( ) : void
리턴 void

InitializeLastUpdateIpAddresses() 공개 메소드

Initialize the LastUpdateIpAddresses collection with the current IP Address (in DNS) for each of the given hostnames. This can be used when the client is run for the first time, when we don't have a record of what the previous IP Address was that was sent to DNS-O-Matic. This way we won't have to attempt to update the IP Address, if the current DNS entry matches the current IP Address.
public InitializeLastUpdateIpAddresses ( string hostnames ) : void
hostnames string The hostnames to update.
리턴 void

IsValidIpAddress() 공개 메소드

public IsValidIpAddress ( string ipAddress ) : bool
ipAddress string
리턴 bool

UpdateHostname() 공개 메소드

Updates the specified hostname via DNS-O-Matic with the public facing IP Address for the system that the request is made from.
public UpdateHostname ( string hostname ) : bool
hostname string The hostname to update.
리턴 bool

UpdateHostname() 공개 추상적인 메소드

public abstract UpdateHostname ( string hostname, string ipAddress ) : bool
hostname string
ipAddress string
리턴 bool

UpdateHostnames() 공개 메소드

Updates the specified hostnames via DNS-O-Matic with the public facing IP Address for the system that the request is made from.
public UpdateHostnames ( List hostnames ) : bool
hostnames List The hostnames to update.
리턴 bool

UpdateHostnames() 공개 메소드

Updates the specified hostnames via DNS-O-Matic with the IP Address that is specified.
public UpdateHostnames ( List hostnames, string ipAddress ) : bool
hostnames List The hostnames to update.
ipAddress string The IP Address to update to.
리턴 bool

UpdateHostnames() 공개 메소드

Updates the given hostnames via DNS-O-Matic with the public facing IP Address for the system that the request is made from.
public UpdateHostnames ( string hostnames ) : bool
hostnames string A comma delimited list of hostnames to update.
리턴 bool

UpdateHostnames() 공개 메소드

Updates the given hostnames via DNS-O-Matic with the public facing IP Address for the system that the request is made from.
public UpdateHostnames ( string hostnames, string ipAddress ) : bool
hostnames string A comma delimited list of hostnames to update.
ipAddress string The IP Address to update to.
리턴 bool