$DefaultNetworkInterface

$DefaultNetworkInterface

gives the default network interface used on your machine.

Details

  • Network interfaces are specified by string names such as "en0".
  • $NetworkInterfaces gives a list of all network interfaces on your machine.

Examples

Basic Examples  (1)

Show the default network interface on your machine:

Wolfram Research (2018), $DefaultNetworkInterface, Wolfram Language function, https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html.

Text

Wolfram Research (2018), $DefaultNetworkInterface, Wolfram Language function, https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html.

CMS

Wolfram Language. 2018. "$DefaultNetworkInterface." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html.

APA

Wolfram Language. (2018). $DefaultNetworkInterface. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html

BibTeX

@misc{reference.wolfram_2024_$defaultnetworkinterface, author="Wolfram Research", title="{$DefaultNetworkInterface}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html}", note=[Accessed: 11-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$defaultnetworkinterface, organization={Wolfram Research}, title={$DefaultNetworkInterface}, year={2018}, url={https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html}, note=[Accessed: 11-November-2024 ]}