C# 클래스 Gallatin.Filter.Util.IpAddressParser

Utility clas used to parses various IP address formats found in the proxy server settings
파일 보기 프로젝트 열기: williamoneill/Gallatin

공개 메소드들

메소드 설명
IsMatch ( string ipFilter, string ipAddress ) : bool

Verifies if the supplied IP address matches the filter

비공개 메소드들

메소드 설명
MaskCheck ( string ipFilter, string ipAddress ) : bool
RangeCheck ( string ipFilter, string ipAddress ) : bool
ToAddr ( long address ) : string
ToNumber ( string addr ) : long

메소드 상세

IsMatch() 공개 정적인 메소드

Verifies if the supplied IP address matches the filter
public static IsMatch ( string ipFilter, string ipAddress ) : bool
ipFilter string IP filter (IP address, IP range, IP with mask)
ipAddress string Target IP address to match
리턴 bool