// Token: 0x0600108D RID: 4237 RVA: 0x00060BB8 File Offset: 0x0005EDB8
        private bool TryParseCookieString(string cookieString, string path, string domain, out GroupMetricsCookie cookie)
        {
            cookie = null;
            if (string.IsNullOrEmpty(cookieString))
            {
                return(false);
            }
            if (!GroupMetricsCookie.TryDeserialize(cookieString, out cookie))
            {
                GroupMetricsGenerator.EventLogger.LogEvent(InfoWorkerEventLogConstants.Tuple_UnableToDeserializeGroupMetricsCookie, null, new object[]
                {
                    this.GetOrganizationIdString(),
                    path,
                    domain
                });
                return(false);
            }
            TimeSpan timeSpan = cookie.LastDeltaSync - DateTime.UtcNow;

            if (timeSpan > GroupMetricsGenerator.CookieLifetime)
            {
                GroupMetricsGenerator.EventLogger.LogEvent(InfoWorkerEventLogConstants.Tuple_GroupMetricsCookieExpired, null, new object[]
                {
                    this.GetOrganizationIdString(),
                    domain,
                    cookie.LastDeltaSync,
                    timeSpan,
                    GroupMetricsGenerator.CookieLifetime
                });
                return(false);
            }
            return(true);
        }