Library to perform network detection operations