Class DBusAuthObserver
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
IntPtrTransfer ownership: None Nullable: False
mechanism
NonNullableUtf8StringHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
stream
IntPtrTransfer ownership: None Nullable: False
credentials
IntPtrTransfer 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