Class InetAddressMask
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class InetAddressMask : Object, IDisposable, Initable, GTypeProvider, InstanceFactory
- Inheritance
-
InetAddressMask
- Implements
-
- Inherited Members
-
Constructors
InetAddressMask(params ConstructArgument[])
public InetAddressMask(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
InetAddressMask(InetAddressMaskHandle)
public InetAddressMask(InetAddressMaskHandle handle)
Parameters
handle
InetAddressMaskHandle
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