Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

firewall warning dialog

Following suggestions made on another forum ( https://forums.ni.com/t5/VirtualBench/device-selection/m-p/3757232 ), I'm now using NI System Configuration 17.5 to discover a USB connected VirtualBench device. Great.

 

The only fly in the ointment is that I get a scary Windows security dialog box warning me that Windows Defender has blocked some features of my app (the NI showallhardware sample app). Is there any way to avoid this? Seems unnecessary given that I'm only interested in USB connected devices? Filtering doesn't help:

 

            var session = new SystemConfiguration(string.Empty, string.Empty, string.Empty);
            Filter filter = new Filter(session)
            {
                IsDevice = true,
                IsPresent = IsPresentType.Present,
                ConnectsToBusType = BusType.Usb,
            };

 

Is there any way to avoid that dialog box?

0 Kudos
Message 1 of 3
(2,870 Views)

Hi eamonddoe, 

 

The link below discusses some ways to avoid the Windows dialog box. Method 2 would likely be the best bet, by granting NI software exclusive permissions.

 

https://ugetfix.com/ask/how-to-fix-windows-firewall-has-blocked-some-features-on-windows-10/

 

Regards,

Jared T.

0 Kudos
Message 2 of 3
(2,839 Views)

Many thanks Jared. I now understand that this how your software works and that there's nothing that I can do. That seems pretty broken to me and the solution is for NI to fix it: Your users should not be dealing with firewalls when trying to discover USB connected devices.

0 Kudos
Message 3 of 3
(2,837 Views)