### Method

# Gio DBusMethodInvocation get_method_name

since: 2.26

#### Declaration [src]

    const gchar*
    g_dbus_method_invocation_get_method_name (
      GDBusMethodInvocation* invocation
    )

#### Description [src]

Gets the name of the method that was invoked.

Available since: 2.26

#### Return value

Type: `const gchar*`

A string. Do not free, it is owned by `invocation`.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.