MTConnect.NET-DeviceFinder
6.5.0
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.6.1
This package targets .NET Framework 4.6.1. The package is compatible with this framework or higher.
dotnet add package MTConnect.NET-DeviceFinder --version 6.5.0
NuGet\Install-Package MTConnect.NET-DeviceFinder -Version 6.5.0
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.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MTConnect.NET-DeviceFinder --version 6.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MTConnect.NET-DeviceFinder, 6.5.0"
#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.5.0 // Install MTConnect.NET-DeviceFinder as a Cake Tool #tool nuget:?package=MTConnect.NET-DeviceFinder&version=6.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
.NETFramework 4.6.1
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
.NETFramework 4.6.2
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
.NETFramework 4.7
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
.NETFramework 4.7.1
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
.NETFramework 4.7.2
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
.NETFramework 4.8
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
.NETStandard 2.0
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
net6.0
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
net7.0
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
-
net8.0
- MTConnect.NET-HTTP (>= 6.5.0)
- MTConnect.NET-XML (>= 6.5.0)
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.5.0 | 67 | 10/21/2024 |
6.4.7 | 111 | 8/21/2024 |
6.4.6 | 90 | 8/7/2024 |
6.4.5 | 86 | 8/2/2024 |
6.4.4 | 92 | 7/16/2024 |
6.4.3 | 107 | 6/14/2024 |
6.4.2 | 91 | 6/12/2024 |
6.4.1 | 103 | 5/17/2024 |
6.4.0 | 99 | 5/14/2024 |
6.3.2-beta | 80 | 5/2/2024 |
6.3.1-beta | 101 | 4/24/2024 |
6.3.0-beta | 98 | 4/17/2024 |
6.2.2-beta | 104 | 4/5/2024 |
6.2.1-beta | 101 | 4/3/2024 |
6.2.0-beta | 101 | 3/27/2024 |
6.1.3-beta | 102 | 3/15/2024 |
6.1.2-beta | 103 | 3/15/2024 |
6.0.11-beta | 117 | 2/2/2024 |
6.0.10-beta | 98 | 1/26/2024 |
6.0.9-beta | 149 | 12/28/2023 |
6.0.8-beta | 91 | 12/27/2023 |
6.0.7-beta | 129 | 12/19/2023 |
6.0.5-beta | 120 | 12/14/2023 |
6.0.3-beta | 119 | 12/12/2023 |
6.0.1-beta | 134 | 12/7/2023 |
5.4.4 | 233 | 6/6/2023 |
5.4.3 | 166 | 5/20/2023 |
5.4.1 | 239 | 3/28/2023 |
5.4.0 | 230 | 3/20/2023 |
5.3.0 | 229 | 3/14/2023 |
5.2.0 | 243 | 3/5/2023 |
5.1.0 | 244 | 3/3/2023 |
5.0.0 | 278 | 2/3/2023 |
4.6.0 | 335 | 11/28/2022 |
4.5.0 | 383 | 10/18/2022 |
4.4.0 | 354 | 10/5/2022 |
4.3.0 | 405 | 9/20/2022 |