Class InetAddress
public class InetAddress
- Inheritance
-
InetAddress
- Inherited Members
Methods
Equal(IntPtr, IntPtr)
Calls native method g_inet_address_equal. Version: 2.30
[Version("2.30")]
public static extern bool Equal(IntPtr address, IntPtr otherAddress)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
otherAddress
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetFamily(IntPtr)
Calls native method g_inet_address_get_family. Version: 2.22
[Version("2.22")]
public static extern SocketFamily GetFamily(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- SocketFamily
Transfer ownership: None Nullable: False
GetGType()
Calls native function g_inet_address_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetIsAny(IntPtr)
Calls native method g_inet_address_get_is_any. Version: 2.22
[Version("2.22")]
public static extern bool GetIsAny(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsLinkLocal(IntPtr)
Calls native method g_inet_address_get_is_link_local. Version: 2.22
[Version("2.22")]
public static extern bool GetIsLinkLocal(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsLoopback(IntPtr)
Calls native method g_inet_address_get_is_loopback. Version: 2.22
[Version("2.22")]
public static extern bool GetIsLoopback(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsMcGlobal(IntPtr)
Calls native method g_inet_address_get_is_mc_global. Version: 2.22
[Version("2.22")]
public static extern bool GetIsMcGlobal(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsMcLinkLocal(IntPtr)
Calls native method g_inet_address_get_is_mc_link_local. Version: 2.22
[Version("2.22")]
public static extern bool GetIsMcLinkLocal(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsMcNodeLocal(IntPtr)
Calls native method g_inet_address_get_is_mc_node_local. Version: 2.22
[Version("2.22")]
public static extern bool GetIsMcNodeLocal(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsMcOrgLocal(IntPtr)
Calls native method g_inet_address_get_is_mc_org_local. Version: 2.22
[Version("2.22")]
public static extern bool GetIsMcOrgLocal(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsMcSiteLocal(IntPtr)
Calls native method g_inet_address_get_is_mc_site_local. Version: 2.22
[Version("2.22")]
public static extern bool GetIsMcSiteLocal(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsMulticast(IntPtr)
Calls native method g_inet_address_get_is_multicast. Version: 2.22
[Version("2.22")]
public static extern bool GetIsMulticast(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsSiteLocal(IntPtr)
Calls native method g_inet_address_get_is_site_local. Version: 2.22
[Version("2.22")]
public static extern bool GetIsSiteLocal(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetNativeSize(IntPtr)
Calls native method g_inet_address_get_native_size. Version: 2.22
[Version("2.22")]
public static extern nuint GetNativeSize(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
NewAny(SocketFamily)
Calls native constructor g_inet_address_new_any. Version: 2.22
[Version("2.22")]
public static extern IntPtr NewAny(SocketFamily family)
Parameters
family
SocketFamilyTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewFromBytes(ref byte, SocketFamily)
Calls native constructor g_inet_address_new_from_bytes. Version: 2.22
[Version("2.22")]
public static extern IntPtr NewFromBytes(ref byte bytes, SocketFamily family)
Parameters
bytes
byteTransfer ownership: None Nullable: False
family
SocketFamilyTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewFromString(NonNullableUtf8StringHandle)
Calls native constructor g_inet_address_new_from_string. Version: 2.22
[Version("2.22")]
public static extern IntPtr NewFromString(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: True
NewLoopback(SocketFamily)
Calls native constructor g_inet_address_new_loopback. Version: 2.22
[Version("2.22")]
public static extern IntPtr NewLoopback(SocketFamily family)
Parameters
family
SocketFamilyTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
ToBytes(IntPtr)
Calls native method g_inet_address_to_bytes. Version: 2.22
[Version("2.22")]
public static extern IntPtr ToBytes(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
ToString(IntPtr)
Calls native method g_inet_address_to_string. Version: 2.22
[Version("2.22")]
public static extern NonNullableUtf8StringOwnedHandle ToString(IntPtr address)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False