77 references to _WinInetCache
System (77)
net\System\Net\_SafeNetHandles.cs (5)
2979internal unsafe static _WinInetCache.Status GetAndLockFile(string key, byte* entryPtr, ref int entryBufSize, out SafeUnlockUrlCacheEntryFile handle) { 2994unsafe private static _WinInetCache.Status MustRunGetAndLockFile(char* key, byte* entryPtr, ref int entryBufSize, SafeUnlockUrlCacheEntryFile handle) { 2995_WinInetCache.Status error = _WinInetCache.Status.Success; 3003error = (_WinInetCache.Status)Marshal.GetLastWin32Error();
net\System\Net\Cache\IERequestCache.cs (66)
128_WinInetCache.Entry entry = new _WinInetCache.Entry(key, _MaximumResponseHeadersLength); 130if (_WinInetCache.Remove(entry) != _WinInetCache.Status.Success && entry.Error != _WinInetCache.Status.FileNotFound) { 161_WinInetCache.Entry entry = new _WinInetCache.Entry(key, _MaximumResponseHeadersLength); 163if (_WinInetCache.Remove(entry) == _WinInetCache.Status.Success || entry.Error == _WinInetCache.Status.FileNotFound) { 172_WinInetCache.Status status = _WinInetCache.LookupInfo(entry); 173if (status == _WinInetCache.Status.Success) { 180status = _WinInetCache.LookupInfo(entry); 183_WinInetCache.Remove(entry); 184if (entry.Error != _WinInetCache.Status.Success && _WinInetCache.LookupInfo(entry) == _WinInetCache.Status.FileNotFound) { 185entry.Error = _WinInetCache.Status.Success; 188return entry.Error == _WinInetCache.Status.Success; 233_WinInetCache.Entry entry = new _WinInetCache.Entry(key, _MaximumResponseHeadersLength); 235handle = _WinInetCache.LookupFile(entry); 237if (entry.Error == _WinInetCache.Status.Success) { 313if (entry.Error != _WinInetCache.Status.FileNotFound) 403_WinInetCache.Entry entry = new _WinInetCache.Entry(key, _MaximumResponseHeadersLength); 408entry.Info.ExpireTime = _WinInetCache.FILETIME.Zero; 410entry.Info.ExpireTime = new _WinInetCache.FILETIME(expiresUtc.ToFileTimeUtc()); 413entry.Info.LastModifiedTime = _WinInetCache.FILETIME.Zero; 415entry.Info.LastModifiedTime = new _WinInetCache.FILETIME(lastModifiedUtc.ToFileTimeUtc()); 418entry.Info.EntryType = _WinInetCache.EntryType.NormalEntry; 424entry.Info.EntryType = _WinInetCache.EntryType.StickyEntry; 459_WinInetCache.CreateFileName(entry); 462if (entry.Error != _WinInetCache.Status.Success) { 521_WinInetCache.Entry entry = new _WinInetCache.Entry(key, _MaximumResponseHeadersLength); 522_WinInetCache.Entry_FC attributes = _WinInetCache.Entry_FC.None; 525attributes |= _WinInetCache.Entry_FC.Exptime; 526entry.Info.ExpireTime = new _WinInetCache.FILETIME(expiresUtc.ToFileTimeUtc()); 531attributes |= _WinInetCache.Entry_FC.Modtime; 532entry.Info.LastModifiedTime = new _WinInetCache.FILETIME(lastModifiedUtc.ToFileTimeUtc()); 537attributes |= _WinInetCache.Entry_FC.Synctime; 538entry.Info.LastSyncTime = new _WinInetCache.FILETIME(lastSynchronizedUtc.ToFileTimeUtc()); 543attributes |= _WinInetCache.Entry_FC.ExemptDelta|_WinInetCache.Entry_FC.Attribute; 544entry.Info.EntryType = _WinInetCache.EntryType.NormalEntry; 549entry.Info.EntryType = _WinInetCache.EntryType.StickyEntry; 561attributes |= _WinInetCache.Entry_FC.Headerinfo; 584_WinInetCache.Update(entry, attributes) ; 586if (entry.Error != _WinInetCache.Status.Success) { 627internal ReadStream(_WinInetCache.Entry entry, SafeUnlockUrlCacheEntryFile handle, bool async) 799private _WinInetCache.Entry m_Entry; 814internal WriteStream(_WinInetCache.Entry entry, bool isThrow, long streamSize, bool async): 1020_WinInetCache.Status errorStatus = _WinInetCache.Remove(m_Entry); 1021if (errorStatus != _WinInetCache.Status.Success && errorStatus != _WinInetCache.Status.FileNotFound) 1055if (_WinInetCache.Commit(m_Entry) != _WinInetCache.Status.Success) 1087if ((m_Entry.Info.EntryType & _WinInetCache.EntryType.StickyEntry) == _WinInetCache.EntryType.StickyEntry) 1089if (_WinInetCache.Update(m_Entry, _WinInetCache.Entry_FC.ExemptDelta) != _WinInetCache.Status.Success)
net\System\Net\Cache\RequestCacheEntry.cs (2)
52internal RequestCacheEntry(_WinInetCache.Entry entry, bool isPrivateEntry) 67m_IsPartialEntry = (entry.Info.EntryType & _WinInetCache.EntryType.Sparse) != 0;
net\System\Net\UnsafeNativeMethods.cs (4)
1957[In] _WinInetCache.FILETIME expireTime, 1958[In] _WinInetCache.FILETIME lastModifiedTime, 1959[In] _WinInetCache.EntryType EntryType, 1977[In] _WinInetCache.Entry_FC fieldControl