/// <summary> /// Get the cookie matching a specific name. /// </summary> /// <param name="cookieName">The name of the cookie to find.</param> /// <returns>The cookie that matches <paramref name="cookieName"/>.</returns> public NapCookie GetCookie(string cookieName) { return(Cookies.First(c => c.Name.Equals(cookieName))); }