CSharpTradeOffers.Web.Account.FindCookieByName C# (CSharp) Method

FindCookieByName() public method

public FindCookieByName ( string name ) : Cookie
name string
return 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();
        }