Gamer.Gamertag Property

Gets the gamertag string.

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

Syntax

public string Gamertag { get; }

Property Value

Name of the gamertag.

Remarks

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.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP