public void Profile() { var result = _client.GetXHR("http://astrum.amebagames.com/_/profile"); var profile = JsonConvert.DeserializeObject <ProfileInfo>(result); if (_client.DownloadUserAvatar(profile.user.leader)) { _client.ViewModel.Leader = profile.user.leader.md5.sd; } }