$MachineAddresses

$MachineAddresses

给出一个字符串列表,指定与正在运行 Wolfram 系统的计算机相关的当前 IP 地址.

更多信息

  • 如果网络地址没有定义,则 $MachineAddresses 给出 {},计算机实际为脱机.
  • $MachineAddresses 会给出一个列表,列出你的计算机上每个网络适配器.
  • 如果一个网络配置发生变化,$MachineAddresses 的值可能会在单个 Wolfram 系统会话中发生变化.

范例

基本范例  (1)

列出与每个已连接网络适配器相关的 IP 地址:

断开适配器,可将该条目从列表中移除:

Wolfram Research (2007),$MachineAddresses,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$MachineAddresses.html.

文本

Wolfram Research (2007),$MachineAddresses,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$MachineAddresses.html.

CMS

Wolfram 语言. 2007. "$MachineAddresses." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/$MachineAddresses.html.

APA

Wolfram 语言. (2007). $MachineAddresses. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/$MachineAddresses.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_$machineaddresses, organization={Wolfram Research}, title={$MachineAddresses}, year={2007}, url={https://reference.wolfram.com/language/ref/$MachineAddresses.html}, note=[Accessed: 21-November-2024 ]}