how to find total active users in photon?

Options
I want to know total active users in photon server. where can i see the users active logs.

Comments

  • chvetsov
    Options
    hi, @OmiAmarwal
    what client lib are you using?

    best,
    ilya
  • OmiAmarwal
    Options
    we are using .NET SDK on-premises.
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @OmiAmarwal,

    You can find information about how to get server statistics from client on this page.

    You can get the total number of users connected using
    loadBalancingClient.PlayersOnMasterCount + loadBalancingClient.PlayersInRoomsCount. This works when you client is not joined to a room.