GamerPrivileges.AllowOnlineSessions Property
Checks if this gamer is allowed to play in online multiplayer sessions.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
Syntax
public bool AllowOnlineSessions { get; }
Property Value
true if the gamer is allowed to play in online multiplayer sessions; false otherwise.
Remarks
AllowOnlineSessions will return false if the gamer does not have an Xbox LIVE membership, is not logged in to Xbox LIVE, or if parental control settings restrict the gamer from connecting to online game sessions. This property does not affect local system link sessions, which are always available.
While in trial mode, this property returns false. It is possible that the game may change from trial mode at any time, including during gameplay. For more information, see Guide.IsTrialMode.
See Also
Reference
Guide.IsTrialMode Property
SignedInGamer.Privileges Property
GamerPrivileges Class
GamerPrivileges Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP