问题描述
我正在制作一个程序,列出所有连接到Wi-Fi网络的设备,以便查看是否有其他人连接.
I am making a program to list all the devices who are connected to my Wi-Fi network so that I can see if anyone else is connected.
我找到了CMD的代码-网络视图,但是它仅列出了连接到Wi-Fi的计算机,但没有列出移动设备.是否还有其他命令可以列出使用CMD连接到我的Wi-Fi的移动设备.
I have found a code for CMD - net view but it lists only the computers connected to my Wi-Fi but not the mobile devices. Is there any other command to list mobile devices connected to my Wi-Fi using CMD.
推荐答案
您需要一个名为的外部工具: 无线网络观察器
You need an external tool called : Wireless Network Watcher
说明:
您可以创建一个批处理文件以使用HTML保存结果,如下所示:
And you can create a batch file to save the result with HTML like this :
@echo off
WNetWatcher.exe /shtml "WNetWatcher.html"
Start "" "WNetWatcher.html"
命令行选项:
Command-Line Options :
/stext 扫描您的网络,并保存网络设备
列出常规文本文件.
/stext Scan your network, and save the network devices
list into a regular text file.
/stab 扫描您的网络,
并将网络设备列表保存到制表符分隔的文本文件中.
/stab Scan your network,
and save the network devices list into a tab-delimited text file.
/逗号 扫描您的网络,并保存网络设备
列出以逗号分隔的文本文件(csv).
/scomma Scan your network, and save the network devices
list into a comma-delimited text file (csv).
/表格式 扫描您的网络并保存网络设备 列出到表格文本文件中.
/stabular Scan your network, and save the network devices list into a tabular text file.
/shtml 扫描您的网络,并保存网络设备
列出到HTML文件(水平)中.
/shtml Scan your network, and save the network devices
list into HTML file (Horizontal).
/sverhtml 扫描您的网络并保存网络 设备列表到HTML文件(垂直)中.
/sverhtml Scan your network, and save the network devices list into HTML file (Vertical).
/sxml 扫描您的网络,并保存网络设备
列出到XML文件中.
/sxml Scan your network, and save the network devices
list into XML file.
这篇关于如何列出使用VB6或BAT/CMD连接到我的WiFi网络的设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!