Table of Contents

Class InetAddressMask

Namespace
Gio
Assembly
Gio-2.0.dll
public class InetAddressMask : Object, IObject, INotifyPropertyChanged, IDisposable, Initable, IHandle, GTypeProvider
Inheritance
InetAddressMask
Implements
Inherited Members

Constructors

InetAddressMask(bool, params ConstructArgument[])

protected InetAddressMask(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

InetAddressMask(IntPtr, bool)

protected InetAddressMask(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AddressPropertyDefinition

public static readonly Property<InetAddress?, InetAddressMask> AddressPropertyDefinition

Field Value

Property<InetAddress, InetAddressMask>

FamilyPropertyDefinition

public static readonly Property<SocketFamily, InetAddressMask> FamilyPropertyDefinition

Field Value

Property<SocketFamily, InetAddressMask>

LengthPropertyDefinition

public static readonly Property<uint, InetAddressMask> LengthPropertyDefinition

Field Value

Property<uint, InetAddressMask>

Properties

Address

public InetAddress? Address { get; set; }

Property Value

InetAddress

Family

public SocketFamily Family { get; }

Property Value

SocketFamily

Length

public uint Length { get; set; }

Property Value

uint

Methods

Equal(InetAddressMask)

[Version("2.32")]
public bool Equal(InetAddressMask mask2)

Parameters

mask2 InetAddressMask

Returns

bool

GetAddress()

[Version("2.32")]
public InetAddress GetAddress()

Returns

InetAddress

GetFamily()

[Version("2.32")]
public SocketFamily GetFamily()

Returns

SocketFamily

GetGType()

public static Type GetGType()

Returns

Type

GetLength()

[Version("2.32")]
public uint GetLength()

Returns

uint

Init(Cancellable?)

[Version("2.22")]
public bool Init(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

Matches(InetAddress)

[Version("2.32")]
public bool Matches(InetAddress address)

Parameters

address InetAddress

Returns

bool

New(InetAddress, uint)

[Version("2.32")]
public static InetAddressMask New(InetAddress addr, uint length)

Parameters

addr InetAddress
length uint

Returns

InetAddressMask

NewFromString(string)

[Version("2.32")]
public static InetAddressMask NewFromString(string maskString)

Parameters

maskString string

Returns

InetAddressMask

ToString()

[Version("2.32")]
public string ToString()

Returns

string