Look for devices on your local network via DNS-SD.
Перейти к файлу
Jake Friedman c5f40d4789 Create actual NOTICE file 2021-05-11 01:14:26 -07:00
build Fix compliance scan directory 2021-05-11 00:24:07 -07:00
src Create build pipeline 2021-05-10 23:31:46 -07:00
.gitignore Initial commit 2021-05-06 15:49:03 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2021-05-04 16:08:32 -07:00
LICENSE Initial LICENSE commit 2021-05-04 16:08:33 -07:00
NOTICE.txt Create actual NOTICE file 2021-05-11 01:14:26 -07:00
README.md Add ability to show port 2021-05-07 12:58:17 -07:00
SECURITY.md Initial SECURITY.md commit 2021-05-04 16:08:33 -07:00
SUPPORT.md Initial SUPPORT.md commit 2021-05-04 16:08:34 -07:00

README.md

FindDevice

FindDevice is a basic .NET command line tool you can use to look for devices on your local network or even link-local devices (such as devices that support USBNCM). It uses DNS Service Discovery (DNS-SD) to look for devices that advertise the given service. By default, it looks for devices running Factory Orchestrator (_factorch._tcp.local) but can be configured to look for any DNS-SD service, such as Windows Device Portal (_wdp.tcp.local).

FindDevice makes it easy to discover devices running a specified program/service, so that they can be then interacted with remotely.

image of FindDevice

Usage

FindDevice [options]

Options:

Option Details Default value
--link-local-only  Only look for link-local devices, such as UsbNCM devices false
--display-hostname  Display the device hostname true
--display-ipv4 Display the device IPv4 address(es) true
--display-ipv6 Display the device IPv6 address(es) false
--display-port Display the port the service is discovered on true
--timeout The amount of time in milliseconds to wait for responses (use greater than 2000ms for WiFi), after which the program exits. Infinite
--query-interval The amount of time in milliseconds to wait between queries 1000ms
--service The DNS-SD service string used for discovery _factorch._tcp.local

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.