Implement getnetworkinfo