Add the functionality to check network status using FiddlerScript.
3 comments
Eric
Posted on:09 Sep 2019 03:49
"Online/offline" is actually an incredibly subtle question if you dig into the details, but if you're just looking for the same level of fidelity as the Fiddler toolbar icon, it's easy:
Add
// note: use using if you're using C# rather than FiddlerScript import System.Net.NetworkInformation;
to the top of your script, and then check the bool wherever you like:
NetworkInterface.GetIsNetworkAvailable()
Keren
Posted on:08 Sep 2019 17:48
It can be the state of "online/offline" indicator. But basically is there a built-in way (rather than manually ping) of checking online/offline in FiddlerScript?
Eric
Posted on:08 Sep 2019 01:55
Can you elaborate on what you mean by "network connectivity"? All of the data you might want should already be available, but there are MANY different ways one might choose to interpret it. Are you just trying to get the state of the "Online"/"Offline" indicator at the top-right of the Fiddler window?