NetworkParamsImpl
NetworkParamsImpl
Implementation of the NetworkParams
interface. This class provides details about the network parameters of the device, including host name, domain name, DNS servers, and default gateways for IPv4 and IPv6.
Author
N7ghtm4r3
Parameters
networkParamsInfo
An instance of oshi.software.os.NetworkParams
containing the network information.
See also
Properties
Link copied to clipboard
dnsServers
A list of DNS server addresses used by the device for domain name resolution.
Link copied to clipboard
domainName
The domain name of the network or the device (e.g., "example.com").
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.