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

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

공개 메소드들

메소드 설명
GetIpAddressForHostname ( string hostname ) : string

Submits a dns request for the given hostname and returns the IP address that it resolves to.

GetPublicIpAddress ( ) : string
GetPublicIpAddressFromDnsOMatic ( ) : string

Retrieve the public IP address from DNS-O-Matic at http://myip.dnsomatic.com/

GetPublicIpAddressFromDynDns ( ) : string

Get the public IP Address from DynDns at: http://checkip.dyndns.org/

메소드 상세

GetIpAddressForHostname() 공개 메소드

Submits a dns request for the given hostname and returns the IP address that it resolves to.
public GetIpAddressForHostname ( string hostname ) : string
hostname string The hostname to get an IP address for.
리턴 string

GetPublicIpAddress() 공개 메소드

public GetPublicIpAddress ( ) : string
리턴 string

GetPublicIpAddressFromDnsOMatic() 공개 메소드

Retrieve the public IP address from DNS-O-Matic at http://myip.dnsomatic.com/
public GetPublicIpAddressFromDnsOMatic ( ) : string
리턴 string

GetPublicIpAddressFromDynDns() 공개 메소드

Get the public IP Address from DynDns at: http://checkip.dyndns.org/
public GetPublicIpAddressFromDynDns ( ) : string
리턴 string