Neil Pate Posted March 13, 2018 Report Posted March 13, 2018 Can anybody help me figure out how to run this .net code in LabVIEW bool networkUp = System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable(); I always seem to fall at the first hurdle with .net, I usually cannot figure out what constructor to use (if any) or in this case even find the method in the GAC or by browsing. As as I understand this method is "global" and does not need any kind of constructor? Any ideas? Quote
Neil Pate Posted March 13, 2018 Author Report Posted March 13, 2018 (edited) OK turns out I was looking in the wrong place! You have to browse to just System (Not System.Net.Networkinformation) and there it is.. Also the .net API browser courtesy of Microsoft comes in handy https://docs.microsoft.com/en-gb/dotnet/api/system.net.networkinformation.networkinterface.getisnetworkavailable?view=netframework-4.7.1#System_Net_NetworkInformation_NetworkInterface_GetIsNetworkAvailable Edited March 13, 2018 by Neil Pate 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.