Gamer.GetProfile Method

Reads profile data for this gamer.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

Syntax

public GamerProfile GetProfile ()

Return Value

The profile data for this gamer.

Remarks

This operation can take some time if called on a remote gamer instance, in which case you might prefer to use the non-blocking alternative BeginGetProfile, but will complete quickly when used with a locally signed in profile.

See Also

Reference

BeginGetProfile
Gamer Class
Gamer Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP