Export (0) Print
Expand All

Guide.ShowGamerCard Method

Shows the Gamer Card user interface.

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

public static void ShowGamerCard (
         PlayerIndex player,
         Gamer gamer
)

Parameters

player

Index of the player making the request.

The profile specified by player must be signed in when calling this function.

gamer
Owner of the gamer card being requested for display.

Bb975991.bp(en-US,XNAGameStudio.30).gifBest Practice

You can check GamerPrivileges.AllowProfileViewing to determine if a player is allowed to send and receive communications prior to displaying a menu option that would call this method.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft