public MobileSession() { WebCookies.Add(new Cookie("mobileClientVersion", ClientVersion, "/", CommunityCookieDomain)); WebCookies.Add(new Cookie("mobileClient", ClientName, "/", CommunityCookieDomain)); }
// ReSharper disable once TooManyDependencies public MobileSession( string oAuthToken, ulong?steamId, string steamLogin, string steamLoginSecure, string sessionId, string rememberLoginToken, Dictionary <ulong, string> steamMachineAuthenticationTokens) : base(steamId, steamLogin, steamLoginSecure, sessionId, rememberLoginToken, steamMachineAuthenticationTokens) { WebCookies.Add(new Cookie("mobileClientVersion", ClientVersion, "/", CommunityCookieDomain)); WebCookies.Add(new Cookie("mobileClient", ClientName, "/", CommunityCookieDomain)); OAuthToken = oAuthToken; SteamId = steamId; }