如何列出使用VB6或BAT/CMD连接到我的WiFi网络的设备? [英] How can I list the devices connected to my WiFi network using VB6 or BAT/CMD?

查看:233
本文介绍了如何列出使用VB6或BAT/CMD连接到我的WiFi网络的设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个程序,列出所有连接到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

说明:

Wireless Network Watcher是一个小的实用程序,可以扫描您的无线 网络并显示以下所有计算机和设备的列表 当前已连接到您的网络.对于每台计算机或设备 连接到您的网络,将显示以下信息: IP地址,MAC地址,制造网络的公司 卡,以及可选的计算机名称.您也可以导出 连接的设备列表到html/xml/csv/text文件中,或复制列表 到剪贴板,然后粘贴到Excel或其他电子表格中 应用程序.

Wireless Network Watcher is a small utility that scans your wireless network and displays the list of all computers and devices that are currently connected to your network. For every computer or device that is connected to your network, the following information is displayed: IP address, MAC address, the company that manufactured the network card, and optionally the computer name. You can also export the connected devices list into html/xml/csv/text file, or copy the list to the clipboard and then paste into Excel or other spreadsheet application.

您可以创建一个批处理文件以使用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 :

/cfg 使用指定的名称启动Wireless Network Watcher 配置文件.例如:WNetWatcher.exe/cfg
"c:\ config \ wnw.cfg" WNetWatcher.exe/cfg%AppData%\ WNetWatcher.cfg"

/cfg Start Wireless Network Watcher with the specified configuration file. For example: WNetWatcher.exe /cfg
"c:\config\wnw.cfg" WNetWatcher.exe /cfg "%AppData%\WNetWatcher.cfg"

/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网络的设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆