Function Repository Resource:

GetNetworkAddress

Source Notebook

Return network address list from the current host operating system

Contributed by: Daniel de Souza Carvalho

ResourceFunction["GetNetworkAddress"][]

returns a list from the current host addresses such as MAC address, IPv4 and IPv6.

Examples

Basic Examples (1) 

Call the function without parameters:

In[1]:=
ResourceFunction["GetNetworkAddress"][]
Out[1]=

Scope (1) 

Note that the addresses are in order according to the physical network device, as there are addresses assigned for them:

In[2]:=
ResourceFunction["GetNetworkAddress"][] // TableForm
Out[2]=

Publisher

Daniel de Souza Carvalho

Version History

  • 1.0.0 – 27 April 2020

License Information