C# Class RadioDld.CachedWebClient

Afficher le fichier Open project: ribbons/RadioDownloader Class Usage Examples

Méthodes publiques

Méthode Description
DownloadData ( Uri uri, int fetchIntervalHrs, string userAgent ) : byte[]
DownloadString ( Uri uri, int fetchIntervalHrs, string userAgent ) : string
GetInstance ( ) : CachedWebClient

Private Methods

Méthode Description
AddToHTTPCache ( Uri uri, bool requestSuccess, byte data ) : void
CachedWebClient ( ) : System
DatabasePath ( ) : string
DownloadData ( Uri uri, int fetchIntervalHrs ) : byte[]
DownloadString ( Uri uri, int fetchIntervalHrs ) : string
FetchDbConn ( ) : SQLiteConnection
GetHTTPCacheContent ( Uri uri, bool &requestSuccess ) : byte[]
GetHTTPCacheLastUpdate ( Uri uri ) : DateTime?

Method Details

DownloadData() public méthode

public DownloadData ( Uri uri, int fetchIntervalHrs, string userAgent ) : byte[]
uri System.Uri
fetchIntervalHrs int
userAgent string
Résultat byte[]

DownloadString() public méthode

public DownloadString ( Uri uri, int fetchIntervalHrs, string userAgent ) : string
uri System.Uri
fetchIntervalHrs int
userAgent string
Résultat string

GetInstance() public static méthode

public static GetInstance ( ) : CachedWebClient
Résultat CachedWebClient