https://github.com/au-top/show_network_interface_info
Flutter Plugin Viewing IP gateway subnet mask of network card information on Windows / Android
https://github.com/au-top/show_network_interface_info
android flutter flutter-plugin network windows
Last synced: about 2 months ago
JSON representation
Flutter Plugin Viewing IP gateway subnet mask of network card information on Windows / Android
- Host: GitHub
- URL: https://github.com/au-top/show_network_interface_info
- Owner: au-top
- License: mit
- Created: 2021-04-13T02:33:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-28T02:58:10.000Z (about 5 years ago)
- Last Synced: 2025-10-23T00:26:43.827Z (8 months ago)
- Topics: android, flutter, flutter-plugin, network, windows
- Language: C++
- Homepage:
- Size: 94.7 KB
- Stars: 2
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# show_network_interface_info
- cn
在 windows 和 android 平台上提供查看网络信息的能力
---
在 windows 上为查看所有网卡信息
在 android 上为查看wifi网络信息
这些信息都包含 网关 , ip ipMask
如果你有更好的主意或者代码请发起 pr or issues
示例返回结果
```
[
{index: 1, networkInfoList: [{gateway: 0.0.0.0, ip: 0.0.0.0, ipMask: 0.0.0.0}]},
{index: 2, networkInfoList: [{gateway: 0.0.0.0, ip: 169.254.52.70, ipMask: 255.255.0.0}]},
{index: 3, networkInfoList: [{gateway: 0.0.0.0, ip: 169.254.114.12, ipMask: 255.255.0.0}]},
{index: 4, networkInfoList: [{gateway: 172.16.5.254, ip: 172.16.5.107, ipMask: 255.255.255.0}]},
{index: 5, networkInfoList: [{gateway: 0.0.0.0, ip: 0.0.0.0, ipMask: 0.0.0.0}]},
{index: 6, networkInfoList: [{gateway: 0.0.0.0, ip: 0.0.0.0, ipMask: 0.0.0.0}]}
]
```
---
- en
show_ network_ interface_ info
Provide the ability to view network information on windows and Android platform
---
To view all network card information on Windows
To view WiFi network information on Android
The information includes gateway, IP, and ipmask
If you have a better idea or code, please launch PR or issues
Examples return results
```
[
{index: 1, networkInfoList: [{gateway: 0.0.0.0, ip: 0.0.0.0, ipMask: 0.0.0.0}]},
{index: 2, networkInfoList: [{gateway: 0.0.0.0, ip: 169.254.52.70, ipMask: 255.255.0.0}]},
{index: 3, networkInfoList: [{gateway: 0.0.0.0, ip: 169.254.114.12, ipMask: 255.255.0.0}]},
{index: 4, networkInfoList: [{gateway: 172.16.5.254, ip: 172.16.5.107, ipMask: 255.255.255.0}]},
{index: 5, networkInfoList: [{gateway: 0.0.0.0, ip: 0.0.0.0, ipMask: 0.0.0.0}]},
{index: 6, networkInfoList: [{gateway: 0.0.0.0, ip: 0.0.0.0, ipMask: 0.0.0.0}]}
]
```