Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 521 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 521 Bytes

Nager.UdpDeviceDiscovery

Discover devices on the network via an udp broadcast

nuget

The package is available on nuget

PM> install-package Nager.UdpDeviceDiscovery

Examples

MOXA NPort discovery

var helloPackage = new byte[] { 0x01, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 };

var deviceDetector = new UdpDeviceDetector();
var packages = await deviceDetector.GetDeviceInfoPackagesAsync(4800, helloPackage, receiveTimeout: 2000);