[-AI-] 取得网络卡连线速度

楼主: GodIsland (搞不定吗用C4就对了)   2017-08-30 09:31:49
https://www.autoitscript.com/forum/topic/93409-network-link-speed/
$strServer = "."
$objWMI = ObjGet("winmgmts://" & $strServer & "/root\WMI")
$objInstances = $objWMI.InstancesOf("MSNdis_LinkSpeed",48)
For $objInstance in $objInstances
With $objInstance
;ConsoleWrite( .Active & @CRLF)
ConsoleWrite( .InstanceName & @CRLF)
ConsoleWrite( .NdisLinkSpeed & @CRLF)
EndWith
Next
作者: jonce007 (汪汪)   2017-12-09 12:12:00
赞! 不知道AHK有没有类似功能。

Links booklink

Contact Us: admin [ a t ] ucptt.com