C# Class SqlToGraphite.ConfigHttpReader

Inheritance: IConfigReader
显示文件 Open project: perryofpeek/SqlToGraphite-core Class Usage Examples

Public Methods

Method Description
ConfigHttpReader ( string uri, string username, string password ) : System.IO
GetHash ( ) : string
GetXml ( ) : string
HasChanged ( ) : bool

Private Methods

Method Description
CalculateMD5Hash ( string input ) : string
Get ( ) : StreamReader
GetHead ( ) : long
SetUsernameAndPassword ( WebClient client ) : void

Method Details

ConfigHttpReader() public method

public ConfigHttpReader ( string uri, string username, string password ) : System.IO
uri string
username string
password string
return System.IO

GetHash() public method

public GetHash ( ) : string
return string

GetXml() public method

public GetXml ( ) : string
return string

HasChanged() public method

public HasChanged ( ) : bool
return bool