private IAnonymousClient Login(string language, string userAgent) { var client = new AnonymousClient(Proxy); client.Login(string.Empty, string.Empty, language, userAgent); return(client); }
private async Task <IAnonymousClient> Login(string language, string userAgent) { var client = new AnonymousClient(Proxy); await client.Login(string.Empty, string.Empty, language, userAgent); return(client); }