Class InetAddress
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class InetAddress : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
InetAddress
- Implements
-
- Inherited Members
-
Constructors
InetAddress(bool, params ConstructArgument[])
protected InetAddress(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
InetAddress(IntPtr, bool)
protected InetAddress(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
BytesPropertyDefinition
public static readonly Property<IntPtr, InetAddress> BytesPropertyDefinition
Field Value
- Property<IntPtr, InetAddress>
FamilyPropertyDefinition
public static readonly Property<SocketFamily, InetAddress> FamilyPropertyDefinition
Field Value
- Property<SocketFamily, InetAddress>
IsAnyPropertyDefinition
public static readonly Property<bool, InetAddress> IsAnyPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsLinkLocalPropertyDefinition
public static readonly Property<bool, InetAddress> IsLinkLocalPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsLoopbackPropertyDefinition
public static readonly Property<bool, InetAddress> IsLoopbackPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsMcGlobalPropertyDefinition
public static readonly Property<bool, InetAddress> IsMcGlobalPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsMcLinkLocalPropertyDefinition
public static readonly Property<bool, InetAddress> IsMcLinkLocalPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsMcNodeLocalPropertyDefinition
public static readonly Property<bool, InetAddress> IsMcNodeLocalPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsMcOrgLocalPropertyDefinition
public static readonly Property<bool, InetAddress> IsMcOrgLocalPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsMcSiteLocalPropertyDefinition
public static readonly Property<bool, InetAddress> IsMcSiteLocalPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsMulticastPropertyDefinition
public static readonly Property<bool, InetAddress> IsMulticastPropertyDefinition
Field Value
- Property<bool, InetAddress>
IsSiteLocalPropertyDefinition
public static readonly Property<bool, InetAddress> IsSiteLocalPropertyDefinition
Field Value
- Property<bool, InetAddress>
Properties
Bytes
public IntPtr Bytes { get; }
Property Value
- IntPtr
Family
public SocketFamily Family { get; }
Property Value
- SocketFamily
IsAny
public bool IsAny { get; }
Property Value
- bool
IsLinkLocal
public bool IsLinkLocal { get; }
Property Value
- bool
IsLoopback
public bool IsLoopback { get; }
Property Value
- bool
IsMcGlobal
public bool IsMcGlobal { get; }
Property Value
- bool
IsMcLinkLocal
public bool IsMcLinkLocal { get; }
Property Value
- bool
IsMcNodeLocal
public bool IsMcNodeLocal { get; }
Property Value
- bool
IsMcOrgLocal
public bool IsMcOrgLocal { get; }
Property Value
- bool
IsMcSiteLocal
public bool IsMcSiteLocal { get; }
Property Value
- bool
IsMulticast
public bool IsMulticast { get; }
Property Value
- bool
IsSiteLocal
public bool IsSiteLocal { get; }
Property Value
- bool
Methods
Equal(InetAddress)
[Version("2.30")]
public bool Equal(InetAddress otherAddress)
Parameters
otherAddress
InetAddress
Returns
- bool
GetFamily()
[Version("2.22")]
public SocketFamily GetFamily()
Returns
- SocketFamily
GetGType()
public static Type GetGType()
Returns
- Type
GetIsAny()
[Version("2.22")]
public bool GetIsAny()
Returns
- bool
GetIsLinkLocal()
[Version("2.22")]
public bool GetIsLinkLocal()
Returns
- bool
GetIsLoopback()
[Version("2.22")]
public bool GetIsLoopback()
Returns
- bool
GetIsMcGlobal()
[Version("2.22")]
public bool GetIsMcGlobal()
Returns
- bool
GetIsMcLinkLocal()
[Version("2.22")]
public bool GetIsMcLinkLocal()
Returns
- bool
GetIsMcNodeLocal()
[Version("2.22")]
public bool GetIsMcNodeLocal()
Returns
- bool
GetIsMcOrgLocal()
[Version("2.22")]
public bool GetIsMcOrgLocal()
Returns
- bool
GetIsMcSiteLocal()
[Version("2.22")]
public bool GetIsMcSiteLocal()
Returns
- bool
GetIsMulticast()
[Version("2.22")]
public bool GetIsMulticast()
Returns
- bool
GetIsSiteLocal()
[Version("2.22")]
public bool GetIsSiteLocal()
Returns
- bool
GetNativeSize()
[Version("2.22")]
public nuint GetNativeSize()
Returns
- nuint
NewAny(SocketFamily)
[Version("2.22")]
public static InetAddress NewAny(SocketFamily family)
Parameters
family
SocketFamily
Returns
- InetAddress
NewFromString(string)
[Version("2.22")]
public static InetAddress? NewFromString(string @string)
Parameters
string
string
Returns
- InetAddress
NewLoopback(SocketFamily)
[Version("2.22")]
public static InetAddress NewLoopback(SocketFamily family)
Parameters
family
SocketFamily
Returns
- InetAddress
ToBytes()
[Version("2.22")]
public IntPtr ToBytes()
Returns
- IntPtr
ToString()
[Version("2.22")]
public string ToString()
Returns
- string