This version of Unity is unsupported.
Removed in version 2018.4.36

Network.peerType

Obsolete The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead. public static NetworkPeerType peerType;

Description

The status of the peer type, i.e. if it is disconnected, connecting, server or client.