Table of Contents

Class InetAddressMask

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

Methods

Equal(IntPtr, IntPtr)

Calls native method g_inet_address_mask_equal. Version: 2.32

[Version("2.32")]
public static extern bool Equal(IntPtr mask, IntPtr mask2)

Parameters

mask IntPtr

Transfer ownership: None Nullable: False

mask2 IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetAddress(IntPtr)

Calls native method g_inet_address_mask_get_address. Version: 2.32

[Version("2.32")]
public static extern IntPtr GetAddress(IntPtr mask)

Parameters

mask IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetFamily(IntPtr)

Calls native method g_inet_address_mask_get_family. Version: 2.32

[Version("2.32")]
public static extern SocketFamily GetFamily(IntPtr mask)

Parameters

mask IntPtr

Transfer ownership: None Nullable: False

Returns

SocketFamily

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_inet_address_mask_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetLength(IntPtr)

Calls native method g_inet_address_mask_get_length. Version: 2.32

[Version("2.32")]
public static extern uint GetLength(IntPtr mask)

Parameters

mask IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

Matches(IntPtr, IntPtr)

Calls native method g_inet_address_mask_matches. Version: 2.32

[Version("2.32")]
public static extern bool Matches(IntPtr mask, IntPtr address)

Parameters

mask IntPtr

Transfer ownership: None Nullable: False

address IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(IntPtr, uint, out ErrorOwnedHandle)

Calls native constructor g_inet_address_mask_new. Version: 2.32

[Version("2.32")]
public static extern IntPtr New(IntPtr addr, uint length, out ErrorOwnedHandle error)

Parameters

addr IntPtr

Transfer ownership: None Nullable: False

length uint

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

NewFromString(NonNullableUtf8StringHandle, out ErrorOwnedHandle)

Calls native constructor g_inet_address_mask_new_from_string. Version: 2.32

[Version("2.32")]
public static extern IntPtr NewFromString(NonNullableUtf8StringHandle maskString, out ErrorOwnedHandle error)

Parameters

maskString NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

ToString(IntPtr)

Calls native method g_inet_address_mask_to_string. Version: 2.32

[Version("2.32")]
public static extern NonNullableUtf8StringOwnedHandle ToString(IntPtr mask)

Parameters

mask IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False