Метод | Описание | |
---|---|---|
DeleteFromUrlCache ( string url ) : void |
Remove an entry from the url cache.
|
|
FindUrlCacheEntries ( string urlPattern ) : |
Friendly wrapper around the FindUrlCacheEntry APIs that gets a list of the entries matching the given pattern.
|
|
GetUrlCacheEntryInfo ( string url ) : INTERNET_CACHE_ENTRY_INFO |
More friendly wrapper for the GetUrlCacheEntryInfo API.
|
|
RetrieveUrlCacheEntryContents ( string url ) : string |
More friendly wrapper for the Retrieve/ReadUrlCacheEntryStream APIs.
|
Метод | Описание | |
---|---|---|
CheckLastError ( string url, bool ignoreInsufficientBuffer ) : void |
Helper method to check for standard errors we may see from the WinInet functions.
|
|
DeleteUrlCacheEntry ( string lpszUrlName ) : long | ||
FindCloseUrlCache ( |
||
FindFirstUrlCacheEntry ( string lpszUrlSearchPattern, |
||
FindNextUrlCacheEntry ( |
||
GetUrlCacheEntryInfo ( string lpszUrlName, |
||
ReadUrlCacheEntryStream ( |
||
RetrieveUrlCacheEntryStream ( string lpszUrlName, |
||
ThrowAccessDenied ( string url ) : void |
Helper method to throw a standard access denied exception.
|
|
ThrowFileNotFound ( string url ) : void |
Helper method to throw a standard file not found exception.
|
|
ThrowInsufficientBuffer ( string url ) : void |
Helper method to throw a standard insufficient buffer exception.
|
|
UnlockUrlCacheEntryStream ( |
||
WinInetAPI ( ) : System |
Static class -- can't create.
|
public static DeleteFromUrlCache ( string url ) : void | ||
url | string | |
Результат | void |
public static FindUrlCacheEntries ( string urlPattern ) : |
||
urlPattern | string | The pattern, which is a regular expression applied by this method, since I've never /// seen any evidence that the first parameter to the FindFirstUrlCacheEntry API actually works. |
Результат |
public static GetUrlCacheEntryInfo ( string url ) : INTERNET_CACHE_ENTRY_INFO | ||
url | string | |
Результат | INTERNET_CACHE_ENTRY_INFO |
public static RetrieveUrlCacheEntryContents ( string url ) : string | ||
url | string | |
Результат | string |