Gamer.GetFromGamertag Method

Returns a Gamer object for the specified gamertag.

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

public static Gamer GetFromGamertag (
         string gamertag
)

Parameters

gamertag
Type: String
The Xbox LIVE gamertag for the gamer requested.

Return Value

A Gamer object for the specified gamertag.

Ff634545.caution(en-us,XNAGameStudio.41).gifCaution

This method retrieves a calculated result only for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, this method returns immediately with a predetermined default value.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: