6 writes to LastModifiedUtc
System (6)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (1)
367ctx.CacheEntry.LastModifiedUtc = ctx.ResponseLastModified;
net\System\Net\Cache\_SingleItemRequestCache.cs (3)
56entry.LastModifiedUtc = entry.LastModifiedUtc; 213requestCacheEntry.LastModifiedUtc = lastModifiedUtc; 278chkEntry.LastModifiedUtc = lastModifiedUtc;
net\System\Net\Cache\FtpRequestCacheValidator.cs (1)
464CacheEntry.LastModifiedUtc = resp.LastModified.ToUniversalTime();
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
521CacheEntry.LastModifiedUtc = ResponseLastModified;
23 references to LastModifiedUtc
System (23)
net\System\Net\Cache\_RequestCacheProtocol.cs (3)
593_Validator.CacheEntry.LastModifiedUtc, 615{stream = _RequestCache.Store(_Validator.CacheKey, _Validator.CacheEntry.StreamSize, _Validator.CacheEntry.ExpiresUtc, _Validator.CacheEntry.LastModifiedUtc, _Validator.CacheEntry.MaxStale, _Validator.CacheEntry.EntryMetadata, _Validator.CacheEntry.SystemMetadata);} 617{_RequestCache.TryStore(_Validator.CacheKey, _Validator.CacheEntry.StreamSize, _Validator.CacheEntry.ExpiresUtc, _Validator.CacheEntry.LastModifiedUtc, _Validator.CacheEntry.MaxStale, _Validator.CacheEntry.EntryMetadata, _Validator.CacheEntry.SystemMetadata, out stream);}
net\System\Net\Cache\_Rfc2616CacheValidators.cs (5)
640DateTime lastModifiedDate = ctx.CacheEntry.LastModifiedUtc; 1603if (ctx.CacheEntry.LastModifiedUtc != DateTime.MinValue) { 1605str = ctx.CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture); 1665if (ctx.CacheEntry.LastModifiedUtc != DateTime.MinValue) 1667str = ctx.CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture);
net\System\Net\Cache\_SingleItemRequestCache.cs (1)
56entry.LastModifiedUtc = entry.LastModifiedUtc;
net\System\Net\Cache\FtpRequestCacheValidator.cs (8)
162if (CacheEntry.LastModifiedUtc != DateTime.MinValue) 164TimeSpan span = (nowDate - CacheEntry.LastModifiedUtc); 166if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture))); 285if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_last_modified, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), CacheEntry.StreamSize)); 294if (resp.LastModified.ToUniversalTime() == CacheEntry.LastModifiedUtc) 442if (CacheEntry.LastModifiedUtc != DateTime.MinValue && resp.LastModified.ToUniversalTime() != CacheEntry.LastModifiedUtc) 444if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_entry_because_ftp_restart_response_changed, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), resp.LastModified.ToUniversalTime().ToString("r", CultureInfo.InvariantCulture)));
net\System\Net\Cache\RequestCacheEntry.cs (2)
92sb.Append("\r\nLastModified = ").Append(LastModifiedUtc == DateTime.MinValue? "": LastModifiedUtc.ToString("r", CultureInfo.CurrentCulture));
net\System\Net\FtpWebRequest.cs (4)
2082ctx.CacheEntry.LastModifiedUtc == DateTime.MinValue? DateTime.Now: ctx.CacheEntry.LastModifiedUtc.ToLocalTime(), 2149ctx.CacheEntry.LastModifiedUtc == DateTime.MinValue? DateTime.Now: ctx.CacheEntry.LastModifiedUtc.ToLocalTime(),