System.Net.Cache.FtpRequestCacheValidator.UpdateCacheEntryOnStore C# (CSharp) Method

UpdateCacheEntryOnStore() private method

private UpdateCacheEntryOnStore ( ) : CacheValidationStatus
return CacheValidationStatus
        private CacheValidationStatus UpdateCacheEntryOnStore()
        {
            CacheEntry.EntryMetadata  = null;
            CacheEntry.SystemMetadata = null;

            FtpWebResponse resp = Response as FtpWebResponse;
            if (resp.LastModified != DateTime.MinValue)
            {
                CacheEntry.LastModifiedUtc = resp.LastModified.ToUniversalTime();
            }

            ResponseEntityLength = Response.ContentLength;
            CacheEntry.StreamSize = ResponseEntityLength;       //This is passed down to cache on what size to expect
            CacheEntry.LastSynchronizedUtc = DateTime.UtcNow;
            return CacheValidationStatus.CacheResponse;
        }
        //