CSharpTradeOffers.Web.Account.FindCookieByName C# (CSharp) Méthode

FindCookieByName() public méthode

public FindCookieByName ( string name ) : Cookie
name string
Résultat System.Net.Cookie
        public Cookie FindCookieByName(string name)
        {
            return (
                from Cookie cookie in AuthContainer.GetCookies(new Uri("https://steamcommunity.com"))
                where string.Equals(cookie.Name, name, StringComparison.CurrentCultureIgnoreCase)
                select cookie).FirstOrDefault();
        }