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

AddMachineAuthCookies() private method

Adds the steamMachineAuth cookie to the AuthContainer. This can also be used for any string separated by [name]=[value]
private AddMachineAuthCookies ( string authstring ) : void
authstring string String to turn into a cookie and add.
return void
        private void AddMachineAuthCookies(string authstring)
        {
            string[] split = authstring.Split('=');
            AuthContainer.Add(new Cookie(split[0], split[1]) { Domain = "steamcommunity.com", Secure = true, HttpOnly = true });
        }