C# Class csShared.Utils.DownloadCache

Afficher le fichier Open project: TNOCS/csTouch Class Usage Examples

Méthodes publiques

Méthode Description
CalculateMD5Hash ( string input ) : string
DownloadCache ( ) : System
DownloadFile ( Uri u ) : void
DownloadFile ( Uri u, bool refresh ) : void
DownloadString ( Uri u ) : void
DownloadString ( Uri u, bool refresh ) : void
ExistsLocal ( Uri u ) : bool
LocalUrl ( Uri u ) : string

Private Methods

Méthode Description
GetFile ( string e ) : string
bw_DoWork ( object sender, DoWorkEventArgs e ) : void
wc_DownloadDataCompleted ( object sender, DownloadDataCompletedEventArgs e ) : void
wc_DownloadStringCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void

Method Details

CalculateMD5Hash() public méthode

public CalculateMD5Hash ( string input ) : string
input string
Résultat string

DownloadCache() public méthode

public DownloadCache ( ) : System
Résultat System

DownloadFile() public méthode

public DownloadFile ( Uri u ) : void
u System.Uri
Résultat void

DownloadFile() public méthode

public DownloadFile ( Uri u, bool refresh ) : void
u System.Uri
refresh bool
Résultat void

DownloadString() public méthode

public DownloadString ( Uri u ) : void
u System.Uri
Résultat void

DownloadString() public méthode

public DownloadString ( Uri u, bool refresh ) : void
u System.Uri
refresh bool
Résultat void

ExistsLocal() public méthode

public ExistsLocal ( Uri u ) : bool
u System.Uri
Résultat bool

LocalUrl() public méthode

public LocalUrl ( Uri u ) : string
u System.Uri
Résultat string