Table of Contents

Class DBusAuthObserver

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class DBusAuthObserver
Inheritance
DBusAuthObserver
Inherited Members

Methods

AllowMechanism(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_dbus_auth_observer_allow_mechanism. Version: 2.34

[Version("2.34")]
public static extern bool AllowMechanism(IntPtr observer, NonNullableUtf8StringHandle mechanism)

Parameters

observer IntPtr

Transfer ownership: None Nullable: False

mechanism NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

AuthorizeAuthenticatedPeer(IntPtr, IntPtr, IntPtr)

Calls native method g_dbus_auth_observer_authorize_authenticated_peer. Version: 2.26

[Version("2.26")]
public static extern bool AuthorizeAuthenticatedPeer(IntPtr observer, IntPtr stream, IntPtr credentials)

Parameters

observer IntPtr

Transfer ownership: None Nullable: False

stream IntPtr

Transfer ownership: None Nullable: False

credentials IntPtr

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_dbus_auth_observer_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New()

Calls native constructor g_dbus_auth_observer_new. Version: 2.26

[Version("2.26")]
public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False