MTConnect.NET-DeviceFinder 6.4.2

dotnet add package MTConnect.NET-DeviceFinder --version 6.4.2
NuGet\Install-Package MTConnect.NET-DeviceFinder -Version 6.4.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MTConnect.NET-DeviceFinder" Version="6.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MTConnect.NET-DeviceFinder --version 6.4.2
#r "nuget: MTConnect.NET-DeviceFinder, 6.4.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MTConnect.NET-DeviceFinder as a Cake Addin
#addin nuget:?package=MTConnect.NET-DeviceFinder&version=6.4.2

// Install MTConnect.NET-DeviceFinder as a Cake Tool
#tool nuget:?package=MTConnect.NET-DeviceFinder&version=6.4.2

MTConnect.NET Logo

DeviceFinder

Overview

The MTConnect.NET-DeviceFinder library is used to search a network to find MTConnect Devices. The MTConnectDeviceFinder class contains events for when a new MTConnect Device has been found as well as events for what IP addresses were reachable and what ports were open on those addresses.

The sequence of operations is describe below:

  • Ping IP Addresses : The IP Addresses within the specified AddressRange will be sent a Ping request. Each successful Pinged address is added a to list of reachable addresses
  • Test Ports : For each IP address that was successfully Pinged, a TCP connection is established based on the specified PortRange to test if the port is open and if there is an application listening on the port
  • Request MTConnect Probe : For each of the Ports that were found to be open in the previous test, an MTConnect Probe request is sent to attempt to connect to an MTConnect Agent. If any devices are found, each MTConnect Device is returned in a separate DeviceFound event that contains information about the MTConnect Device and the Network connection.

Usage

using MTConnect.DeviceFinder;

var finder = new MTConnectDeviceFinder();
finder.ScanInterval = 60000; // Interval in milliseconds
finder.Addresses = new AddressRange("192.168.1.0", "192.168.1.255");
finder.Ports = new PortRange(5000, 5020);

finder.PingSent += Finder_PingSent;
finder.PingReceived += Finder_PingReceived;

finder.PortOpened += Finder_PortOpened;
finder.PortClosed += Finder_PortClosed;

finder.ProbeSent += Finder_ProbeSent;
finder.ProbeError += Finder_ProbeError;
finder.ProbeSuccessful += Finder_ProbeSuccessful;
finder.DeviceFound += Finder_DeviceFound;

finder.Start();
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.4.2 38 6/12/2024
6.4.1 77 5/17/2024
6.4.0 73 5/14/2024
6.3.2-beta 56 5/2/2024
6.3.1-beta 79 4/24/2024
6.3.0-beta 77 4/17/2024
6.2.2-beta 61 4/5/2024
6.2.1-beta 63 4/3/2024
6.2.0-beta 62 3/27/2024
6.1.3-beta 64 3/15/2024
6.1.2-beta 66 3/15/2024
6.0.11-beta 74 2/2/2024
6.0.10-beta 63 1/26/2024
6.0.9-beta 106 12/28/2023
6.0.8-beta 52 12/27/2023
6.0.7-beta 86 12/19/2023
6.0.5-beta 81 12/14/2023
6.0.3-beta 78 12/12/2023
6.0.1-beta 91 12/7/2023
5.4.4 210 6/6/2023
5.4.3 144 5/20/2023
5.4.1 214 3/28/2023
5.4.0 209 3/20/2023
5.3.0 205 3/14/2023
5.2.0 220 3/5/2023
5.1.0 224 3/3/2023
5.0.0 256 2/3/2023
4.6.0 312 11/28/2022
4.5.0 360 10/18/2022
4.4.0 334 10/5/2022
4.3.0 381 9/20/2022