GamerPrivileges Class

Describes what operations a gamer is allowed to perform.

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

public sealed class GamerPrivileges

GamerPrivileges can be defined by parental control settings, and will also be set automatically in response to things like age, region, and whether the gamer has a LIVE Gold or LIVE Silver account. Games do not need to explicitly check privileges, because a GamerPrivilegeException will be thrown if they try to perform an unsupported operation, but these privilege bits may be useful to detect that an operation is unavailable before calling it so as to grey-out the relevant menu option.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions