NetworkParams

interface NetworkParams

NetworkParams Represents the network configuration parameters of a device, providing details about the host name, domain name, DNS servers, and default gateways for both IPv4 and IPv6.

Author

N7ghtm4r3

Inheritors

NetworkParamsImpl

Properties

Link copied to clipboard
abstract val dnsServers: Array<String>

dnsServers A list of DNS server addresses used by the device for domain name resolution.

Link copied to clipboard
abstract val domainName: String

domainName The domain name of the network or the device (e.g., "example.com").

Link copied to clipboard
abstract val hostName: String

hostName The name of the device on the network (e.g., "MyComputer").

Link copied to clipboard

ipv4DefaultGateway The default gateway for IPv4 traffic, typically the router's IP address.

Link copied to clipboard

ipv6DefaultGateway The default gateway for IPv6 traffic, typically the router's IPv6 address.