C# 클래스 LOIC.Functions

파일 보기 프로젝트 열기: NewEraCracker/LOIC

공개 메소드들

메소드 설명
ParseInt ( string str, int min, int max, int &value ) : bool
RandomElement ( object array ) : object
RandomHttpHeader ( string method, string subsite, string host, bool subsite_random = false, bool gzip = false, int keep_alive ) : byte[]
RandomString ( int length = 6 ) : string
RandomUserAgent ( ) : string

메소드 상세

ParseInt() 공개 정적인 메소드

public static ParseInt ( string str, int min, int max, int &value ) : bool
str string
min int
max int
value int
리턴 bool

RandomElement() 공개 정적인 메소드

public static RandomElement ( object array ) : object
array object
리턴 object

RandomHttpHeader() 공개 정적인 메소드

public static RandomHttpHeader ( string method, string subsite, string host, bool subsite_random = false, bool gzip = false, int keep_alive ) : byte[]
method string
subsite string
host string
subsite_random bool
gzip bool
keep_alive int
리턴 byte[]

RandomString() 공개 정적인 메소드

public static RandomString ( int length = 6 ) : string
length int
리턴 string

RandomUserAgent() 공개 정적인 메소드

public static RandomUserAgent ( ) : string
리턴 string