Gamer.Gamertag Property

Gets the gamertag string.

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

public string Gamertag { get; }

Property Value

Name of the gamertag.

Bb975585.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information

This is optional on Windows Phone. Use the DisplayName property to get a string that represents this gamer.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions