Method | Description | |
---|---|---|
ClearAsync ( System.TimeSpan duration = null ) : Task |
call this method to clear the entire cache.
|
|
GetCacheFileName ( |
Gets the local cache file name associated with a specified Uri.
|
|
GetFromCacheAsync ( |
Load a specific image from the cache. If the image is not in the cache, ImageCache will try to download and store it.
|
|
GetHttpStreamToStorageFileAsync ( this uri, |
Get the response stream returned by a HTTP get request and save it to a local file.
|
|
PerformScheduledCacheCleanup ( ) : void |
Method | Description | |
---|---|---|
CreateBitmapImage ( string fileName ) : |
||
CreateHash64 ( |
||
CreateHash64 ( string str ) : ulong | ||
EnsureFileAsync ( |
||
GetCacheFolderAsync ( ) : Task |
||
GetHttpContentAsync ( |
||
ImageCache ( ) : System | ||
IsFileOutOfDate ( |
public static ClearAsync ( System.TimeSpan duration = null ) : Task | ||
duration | System.TimeSpan | Use this parameter to define a timespan from now to select cache entries to delete. |
return | Task |
public static GetCacheFileName ( |
||
uri | Uri of the resource. | |
return | string |
public static GetFromCacheAsync ( |
||
uri | Uri of the image. | |
return | Task |
public static GetHttpStreamToStorageFileAsync ( this uri, |
||
uri | this | Uri to request. |
targetFile | StorageFile to save the stream to. | |
return | Task |
public static PerformScheduledCacheCleanup ( ) : void | ||
return | void |