C# Класс Rds.Web.Modules.Honeypot.HoneypotService

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
HoneypotService ( String accessKey, System.Boolean testFailure = false ) : System
Lookup ( IPAddress ip ) : System.Net.Response

Project Honeypot DNS lookup on the provided IP address.

As of Jan 2012, Project Honeypot only supports IPv4 (and not IPv6). As a result, if we have an address of anything other than IPv4, assume ok.

Lookup ( String address ) : System.Net.Response

Приватные методы

Метод Описание
CreateAllowableIpResponse ( IPAddress ip ) : System.Net.Response
CreateTestFailResult ( ) : System.Net.IPAddress[]
InitializeResponse ( IPAddress ip, IPAddress result ) : System.Net.Response

Описание методов

HoneypotService() публичный Метод

public HoneypotService ( String accessKey, System.Boolean testFailure = false ) : System
accessKey String
testFailure System.Boolean
Результат System

Lookup() публичный Метод

Project Honeypot DNS lookup on the provided IP address.
As of Jan 2012, Project Honeypot only supports IPv4 (and not IPv6). As a result, if we have an address of anything other than IPv4, assume ok.
public Lookup ( IPAddress ip ) : System.Net.Response
ip System.Net.IPAddress
Результат System.Net.Response

Lookup() публичный Метод

public Lookup ( String address ) : System.Net.Response
address String
Результат System.Net.Response