C# Class LOIC.Functions

Mostrar archivo Open project: NewEraCracker/LOIC

Public Methods

Method Description
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

Method Details

ParseInt() public static method

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

RandomElement() public static method

public static RandomElement ( object array ) : object
array object
return object

RandomHttpHeader() public static method

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
return byte[]

RandomString() public static method

public static RandomString ( int length = 6 ) : string
length int
return string

RandomUserAgent() public static method

public static RandomUserAgent ( ) : string
return string