// Token: 0x06000792 RID: 1938 RVA: 0x000182F4 File Offset: 0x000164F4 internal static bool TryParseCookieName(string cookieName, out string cookieId) { cookieId = null; if (!cookieName.StartsWith(UserContextCookie.UserContextCookiePrefix, StringComparison.OrdinalIgnoreCase)) { return(false); } int length = UserContextCookie.UserContextCookiePrefix.Length; if (cookieName.Length == length) { return(true); } cookieId = cookieName.Substring(length + 1, cookieName.Length - length - 1); return(UserContextUtilities.IsValidGuid(cookieId)); }
// Token: 0x06000794 RID: 1940 RVA: 0x00018444 File Offset: 0x00016644 private static bool IsValidUserContextId(string userContextId) { return(UserContextUtilities.IsValidGuid(userContextId)); }