Table of Contents

Class NetworkService

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

Methods

GetDomain(IntPtr)

Calls native method g_network_service_get_domain. Version: 2.22

[Version("2.22")]
public static extern NonNullableUtf8StringUnownedHandle GetDomain(IntPtr srv)

Parameters

srv IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_network_service_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetProtocol(IntPtr)

Calls native method g_network_service_get_protocol. Version: 2.22

[Version("2.22")]
public static extern NonNullableUtf8StringUnownedHandle GetProtocol(IntPtr srv)

Parameters

srv IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetScheme(IntPtr)

Calls native method g_network_service_get_scheme. Version: 2.26

[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle GetScheme(IntPtr srv)

Parameters

srv IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetService(IntPtr)

Calls native method g_network_service_get_service. Version: 2.22

[Version("2.22")]
public static extern NonNullableUtf8StringUnownedHandle GetService(IntPtr srv)

Parameters

srv IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native constructor g_network_service_new. Version: 2.22

[Version("2.22")]
public static extern IntPtr New(NonNullableUtf8StringHandle service, NonNullableUtf8StringHandle protocol, NonNullableUtf8StringHandle domain)

Parameters

service NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

protocol NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

domain NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetScheme(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_network_service_set_scheme. Version: 2.26

[Version("2.26")]
public static extern void SetScheme(IntPtr srv, NonNullableUtf8StringHandle scheme)

Parameters

srv IntPtr

Transfer ownership: None Nullable: False

scheme NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False