Photon Networking - How I can see if the player is the host? - C#

Hi boys, I have a question : how can I see if the player is the host of the lobby?
I’m using Photon Network and C#, thanks in advance.

Hi,

the lobby doesn’t have a host. Only rooms have hosts which are called the MasterClients in Photon.

You can check the PhotonNetwork.isMasterClient condition in order to see if you are the MasterClient (only inside rooms).