6 writes to LastModifiedUtc
System (6)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (1)
367
ctx.CacheEntry.
LastModifiedUtc
= ctx.ResponseLastModified;
net\System\Net\Cache\_SingleItemRequestCache.cs (3)
56
entry.
LastModifiedUtc
= entry.LastModifiedUtc;
213
requestCacheEntry.
LastModifiedUtc
= lastModifiedUtc;
278
chkEntry.
LastModifiedUtc
= lastModifiedUtc;
net\System\Net\Cache\FtpRequestCacheValidator.cs (1)
464
CacheEntry.
LastModifiedUtc
= resp.LastModified.ToUniversalTime();
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
521
CacheEntry.
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)
640
DateTime lastModifiedDate = ctx.CacheEntry.
LastModifiedUtc
;
1603
if (ctx.CacheEntry.
LastModifiedUtc
!= DateTime.MinValue) {
1605
str = ctx.CacheEntry.
LastModifiedUtc
.ToString("r", CultureInfo.InvariantCulture);
1665
if (ctx.CacheEntry.
LastModifiedUtc
!= DateTime.MinValue)
1667
str = ctx.CacheEntry.
LastModifiedUtc
.ToString("r", CultureInfo.InvariantCulture);
net\System\Net\Cache\_SingleItemRequestCache.cs (1)
56
entry.LastModifiedUtc = entry.
LastModifiedUtc
;
net\System\Net\Cache\FtpRequestCacheValidator.cs (8)
162
if (CacheEntry.
LastModifiedUtc
!= DateTime.MinValue)
164
TimeSpan span = (nowDate - CacheEntry.
LastModifiedUtc
);
166
if(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)));
285
if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_last_modified, CacheEntry.
LastModifiedUtc
.ToString("r", CultureInfo.InvariantCulture), CacheEntry.StreamSize));
294
if (resp.LastModified.ToUniversalTime() == CacheEntry.
LastModifiedUtc
)
442
if (CacheEntry.
LastModifiedUtc
!= DateTime.MinValue && resp.LastModified.ToUniversalTime() != CacheEntry.
LastModifiedUtc
)
444
if(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)
92
sb.Append("\r\nLastModified = ").Append(
LastModifiedUtc
== DateTime.MinValue? "":
LastModifiedUtc
.ToString("r", CultureInfo.CurrentCulture));
net\System\Net\FtpWebRequest.cs (4)
2082
ctx.CacheEntry.
LastModifiedUtc
== DateTime.MinValue? DateTime.Now: ctx.CacheEntry.
LastModifiedUtc
.ToLocalTime(),
2149
ctx.CacheEntry.
LastModifiedUtc
== DateTime.MinValue? DateTime.Now: ctx.CacheEntry.
LastModifiedUtc
.ToLocalTime(),