Gio.NetworkMonitor.get_default
Description: Reference for Gio.NetworkMonitor.get_default

### Function

# Gio NetworkMonitorget_default

since: 2.32

#### Declaration [src]

    GNetworkMonitor*
    g_network_monitor_get_default (
      void
    )

#### Description [src]

Gets the default `GNetworkMonitor` for the system.

Some implementations complete their initialization asynchronously: properties such as `GNetworkMonitor:network-available` may start at their default values and update shortly afterwards, with notify emissions, once the state is resolved from the thread-default main context of this first call.

Available since: 2.32

#### Return value

Type: `GNetworkMonitor`

A `GNetworkMonitor`, which will be a dummy object if no network monitor is available.

The data is owned by the called function.