NetworkSession.FindGamerById Method
Looks up the network gamer with the specified ID. Returns null if the session contains no matching gamer.
Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)
Syntax
public NetworkGamer FindGamerById (
byte gamerId
)
Parameters
- gamerId
Type: Byte
Identifier specifying the network gamer for which to search.
Return Value
Network gamer matching the requested ID, or null if no matching gamer was found.
See Also
Reference
NetworkSession Class
NetworkSession Members
Microsoft.Xna.Framework.Net Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP