监控网络接口.zip 打包下载地址:
列出计算机的所有可用接口.ahk
; https://www.autohotkey.com/boards/viewtopic.php?f=6&t=4542 #SingleInstance, Force #Include <XNET> nIfCount := 0, List := "" DllCall( "iphlpapi\GetNumberOfInterfaces", "PtrP",nIfCount ) NET := new XNET( False ) Loop %nIfCount% NET.InterfaceIndex := A_Index , List .= "InterfaceIndex : " NET.InterfaceIndex "`n" . "InterfaceLuid : " NET.InterfaceLuid "`n" . "InterfaceGuid : " NET.InterfaceGuid "`n" . "Alias : " NET.Alias "`n" . "Description : " NET.Description "`n`n" Gui, Font, S10, Courier New Gui, Add, Edit, w640 h480 -Wrap hwndhEdit, %List% Gui, Show,, Network Interfaces (%nIfCount%) DllCall( "SendMessage", "Ptr",hEdit, "UInt",0xB1, "Ptr",0 , "Ptr",0 ) ; EM_SETSEL Return GuiEscape: GuiClose: ExitApp
声明:站内资源为整理优化好的代码上传分享与学习研究,如果是开源代码基本都会标明出处,方便大家扩展学习路径。请不要恶意搬运,破坏站长辛苦整理维护的劳动成果。本站为爱好者分享站点,所有内容不作为商业行为。如若本站上传内容侵犯了原著者的合法权益,请联系我们进行删除下架。
评论(0)