Sdílet prostřednictvím


NetworkGamer.IsHost Property

Determines if the player is the host of the multiplayer session.

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

Syntax

public bool IsHost { get; }

Property Value

true if the player is the host; false otherwise.

See Also

Reference

NetworkGamer Class
NetworkGamer Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune