// Token: 0x060002AE RID: 686 RVA: 0x0000D6D8 File Offset: 0x0000B8D8 internal static bool TryParseCookieName(string cookieName, out string cookieId) { cookieId = null; if (!cookieName.StartsWith("UserContext", StringComparison.OrdinalIgnoreCase)) { return(false); } int length = "UserContext".Length; if (cookieName.Length == length) { return(true); } cookieId = cookieName.Substring(length + 1, cookieName.Length - length - 1); return(UserContextCookie.IsValidGuid(cookieId)); }
// Token: 0x060002AF RID: 687 RVA: 0x0000D72F File Offset: 0x0000B92F private static bool IsValidUserContextId(string userContextId) { return(UserContextCookie.IsValidGuid(userContextId)); }