NetManager.GetPeers Method

LiteNetLib

NetManagerGetPeers Method

LiteNetLib
Get copy of current connected peers

Namespace:  LiteNetLib
Assembly:  LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax

C#
public NetPeer[] GetPeers()

Return Value

Type: NetPeer
Array with connected peers
See Also

Reference