How to retrieve player summaries ?

Topics: Questions
Sep 29, 2014 at 1:39 PM
Edited Sep 29, 2014 at 2:02 PM
Hi everyone :)

Ok, I really think it's a nooby question, but there is something I don't understand.
I would like retrieve player summaries from GetPlayerSummaries() function.

I thought I could retrieve this information with that:
var pseudo = SteamWebAPI.General().ISteamUser().GetPlayerSummaries(SteamIdentity.FromSteamID(76561198024273068)).GetResponse();
And I thought I could display for example with something like:
logtexte.Text = pseudo.Data.Players.personaname;
Because he seems to me personaname is one of the data from PlayerSummaries.

I don't understand how to display for example the name or the avatar of this player.

If someone has an idea, thank you very much :)

EDIT: In Fact, I'm really a noob and I found accidentally a solution, I post that here if someone need it :)
var pseudo = SteamWebAPI.General().ISteamUser().GetPlayerSummaries(SteamIdentity.FromSteamID(76561198024273068)).GetResponse();
            List<GetPlayerSummariesResponsePlayer> sum = pseudo.Data.Players.ToList();
            foreach (GetPlayerSummariesResponsePlayer sum1 in sum)
            {
                logtexte.Text = sum1.PersonaName;
            }