diff --git a/EEIP.NET/EEIP.csproj b/EEIP.NET/EEIP.csproj index 2903aa7..0f1e570 100644 --- a/EEIP.NET/EEIP.csproj +++ b/EEIP.NET/EEIP.csproj @@ -1,91 +1,40 @@ - - - + - Debug - AnyCPU - {C7A980DD-A57F-4FC7-A555-10EDC85C749D} + netstandard2.0 Library - Properties Sres.Networking.Eeip.Library - EEIP - v4.5.2 - 512 true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 1.6.1 + + + + True + + - - - - - - + + + + + all + + + - - + LICENSE + http://eeip-library.de/ + https://github.com/rossmann-engineering/EEIP.NET - \ No newline at end of file diff --git a/EEIP.NET/EIPClient.cs b/EEIP.NET/EIPClient.cs index cd8962c..b5be210 100644 --- a/EEIP.NET/EIPClient.cs +++ b/EEIP.NET/EIPClient.cs @@ -179,7 +179,7 @@ public class UdpState foreach (NetworkInterface ni in NetworkInterface.GetAllNetworkInterfaces()) { - if (ni.NetworkInterfaceType == NetworkInterfaceType.Wireless80211 || ni.NetworkInterfaceType == NetworkInterfaceType.Ethernet) + if ((ni.NetworkInterfaceType == NetworkInterfaceType.Wireless80211 || ni.NetworkInterfaceType == NetworkInterfaceType.Ethernet) && ni.OperationalStatus == OperationalStatus.Up) { foreach (UnicastIPAddressInformation ip in ni.GetIPProperties().UnicastAddresses) diff --git a/EEIP.NET/Properties/AssemblyInfo.cs b/EEIP.NET/Properties/AssemblyInfo.cs index b09091d..ea077bb 100644 --- a/EEIP.NET/Properties/AssemblyInfo.cs +++ b/EEIP.NET/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Stefan Rossmann Engineering Solutions")] [assembly: AssemblyProduct("EEIP.NET")] -[assembly: AssemblyCopyright("Copyright © 2018-2020")] +[assembly: AssemblyCopyright("Copyright © 2018-2022")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.6.0.*")] -[assembly: AssemblyFileVersion("1.6.0.*")] +[assembly: AssemblyVersion("1.6.1")] +[assembly: AssemblyFileVersion("1.6.1")]