Table of Contents

Class UnixConnection

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

Methods

GetGType()

Calls native function g_unix_connection_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

ReceiveCredentials(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_unix_connection_receive_credentials. Version: 2.26

[Version("2.26")]
public static extern IntPtr ReceiveCredentials(IntPtr connection, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

ReceiveCredentialsAsync(IntPtr, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_unix_connection_receive_credentials_async. Version: 2.32

[Version("2.32")]
public static extern void ReceiveCredentialsAsync(IntPtr connection, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

ReceiveCredentialsFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_unix_connection_receive_credentials_finish. Version: 2.32

[Version("2.32")]
public static extern IntPtr ReceiveCredentialsFinish(IntPtr connection, IntPtr result, out ErrorOwnedHandle error)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

ReceiveFd(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_unix_connection_receive_fd. Version: 2.22

[Version("2.22")]
public static extern int ReceiveFd(IntPtr connection, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

int

Transfer ownership: None Nullable: False

SendCredentials(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_unix_connection_send_credentials. Version: 2.26

[Version("2.26")]
public static extern bool SendCredentials(IntPtr connection, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

SendCredentialsAsync(IntPtr, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_unix_connection_send_credentials_async. Version: 2.32

[Version("2.32")]
public static extern void SendCredentialsAsync(IntPtr connection, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

SendCredentialsFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_unix_connection_send_credentials_finish. Version: 2.32

[Version("2.32")]
public static extern bool SendCredentialsFinish(IntPtr connection, IntPtr result, out ErrorOwnedHandle error)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

SendFd(IntPtr, int, IntPtr, out ErrorOwnedHandle)

Calls native method g_unix_connection_send_fd. Version: 2.22

[Version("2.22")]
public static extern bool SendFd(IntPtr connection, int fd, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

fd int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False