2 writes to Key
System (2)
net\System\Net\Cache\IERequestCache.cs (1)
405
entry.
Key
= key;
net\System\Net\Cache\WinInetCache.cs (1)
201
Key
= key;
15 references to Key
System (15)
net\System\Net\Cache\IERequestCache.cs (7)
589
Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetCache.Update()", entry.
Key
, new Win32Exception((int)entry.Error).Message));
630
m_Key = entry.
Key
;
1023
if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_delete_failed, "WinInetWriteStream.Close()", m_Entry.
Key
, new Win32Exception((int)m_Entry.Error).Message));
1057
if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_commit_failed, "WinInetWriteStream.Close()", m_Entry.
Key
, new Win32Exception((int)m_Entry.Error).Message));
1082
Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_committed_as_partial, "WinInetWriteStream.Close()", m_Entry.
Key
, (m_StreamSize > 0 ? m_StreamSize.ToString(CultureInfo.CurrentCulture) : SR.GetString(SR.net_log_unknown))));
1083
Logging.PrintInfo(Logging.RequestCache, "WinInetWriteStream.Close(), Key = " + m_Entry.
Key
+ ", Commit Status = " + m_Entry.Error.ToString());
1091
if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetWriteStream.Close(), Key = " + m_Entry.
Key
, new Win32Exception((int)m_Entry.Error).Message));
net\System\Net\Cache\WinInetCache.cs (8)
235
bool found = UnsafeNclNativeMethods.UnsafeWinInetCache.GetUrlCacheEntryInfoW(entry.
Key
, entryPtr, ref size);
276
entry.Error = SafeUnlockUrlCacheEntryFile.GetAndLockFile(entry.
Key
, entryPtr, ref size, out handle);
340
if (UnsafeNclNativeMethods.UnsafeWinInetCache.CreateUrlCacheEntryW(entry.
Key
, entry.OptionalLength, entry.FileExt, sb, 0)) {
357
if ((s.Length + entry.
Key
.Length + entry.Filename.Length + (entry.OriginalUrl==null? 0: entry.OriginalUrl.Length)) > entry.MaxBufferBytes/c_CharSz) {
368
entry.
Key
,
406
if (!UnsafeNclNativeMethods.UnsafeWinInetCache.SetUrlCacheEntryInfoW(newEntry.
Key
, bytePtr, attributes)) {
412
Entry oldEntry = new Entry(newEntry.
Key
, newEntry.MaxBufferBytes);
504
if (!UnsafeNclNativeMethods.UnsafeWinInetCache.DeleteUrlCacheEntryW(entry.
Key
)) {