7 writes to LastSynchronizedUtc
System (7)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (1)
374
ctx.CacheEntry.
LastSynchronizedUtc
= DateTime.UtcNow;
net\System\Net\Cache\_SingleItemRequestCache.cs (3)
57
LastSynchronizedUtc
= entry.LastSynchronizedUtc;
215
requestCacheEntry.
LastSynchronizedUtc
= DateTime.UtcNow;
279
chkEntry.
LastSynchronizedUtc
= lastSynchronizedUtc;
net\System\Net\Cache\FtpRequestCacheValidator.cs (2)
469
CacheEntry.
LastSynchronizedUtc
= DateTime.UtcNow;
488
CacheEntry.
LastSynchronizedUtc
= nowUtc;
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
529
CacheEntry.
LastSynchronizedUtc
= DateTime.UtcNow;
17 references to LastSynchronizedUtc
System (17)
net\System\Net\Cache\_RequestCacheProtocol.cs (1)
594
_Validator.CacheEntry.
LastSynchronizedUtc
,
net\System\Net\Cache\_Rfc2616CacheValidators.cs (7)
516
else if (ctx.CacheEntry.
LastSynchronizedUtc
!= DateTime.MinValue) {
520
age = nowDate - ctx.CacheEntry.
LastSynchronizedUtc
;
526
Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized_age_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.
LastSynchronizedUtc
.ToString("r", CultureInfo.InvariantCulture), ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo)));
528
Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.
LastSynchronizedUtc
.ToString("r", CultureInfo.InvariantCulture)));
594
date = ctx.CacheEntry.
LastSynchronizedUtc
;
899
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_cache_sync_date, ctx.Policy.InternalCacheSyncDateUtc.ToString("r", CultureInfo.CurrentCulture), ctx.CacheEntry.
LastSynchronizedUtc
.ToString(CultureInfo.CurrentCulture)));
900
if (ctx.CacheEntry.
LastSynchronizedUtc
< ctx.Policy.InternalCacheSyncDateUtc) {
net\System\Net\Cache\_SingleItemRequestCache.cs (1)
57
LastSynchronizedUtc = entry.
LastSynchronizedUtc
;
net\System\Net\Cache\FtpRequestCacheValidator.cs (6)
153
if(CacheEntry.
LastSynchronizedUtc
!= DateTime.MinValue)
155
age = nowDate - CacheEntry.
LastSynchronizedUtc
;
156
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), CacheEntry.
LastSynchronizedUtc
.ToString("r", CultureInfo.InvariantCulture)));
476
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_last_synchronized, CacheEntry.
LastSynchronizedUtc
.ToString("r", CultureInfo.InvariantCulture)));
479
if (CacheEntry.
LastSynchronizedUtc
+ TimeSpan.FromMinutes(1) >= nowUtc)
490
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_updating_last_synchronized, CacheEntry.
LastSynchronizedUtc
.ToString("r", CultureInfo.InvariantCulture)));
net\System\Net\Cache\RequestCacheEntry.cs (2)
93
sb.Append("\r\nLastSynchronized = ").Append(
LastSynchronizedUtc
== DateTime.MinValue? "":
LastSynchronizedUtc
.ToString("r", CultureInfo.CurrentCulture));