There are lots of indicators for online/offline status in UI and log. But how do we check this in fiddlerscript (c#)? (The application does not call any of OnPeekAtResponseHeaders(), OnBeforeResponse() and OnReturningError() when I am offline)
2 Answers, 1 is accepted
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 04 Sep 2019, 02:20 PM
Hi Keren,
At this time, the Online Status indicators are for informational purposes only and there is no way to access this information using FiddlerScript. However, I have created a Feedback Request and increased the priority. Additionally, I recommend casting a vote following it there.
Please let me know if you need any additional information. Thank you.
Regards,
Eric R | Technical Support Engineer
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 10 Sep 2019, 09:38 PM
Hi Keren,
Per the suggestion in the Feedback Request, try importing the System.Net.NetworkInformation namespace and use the following code snippet to check if the network is available.
import System.Net.NetworkInformation; // Place at the top of the FiddlerScript file, i.e. CustomRules.js
NetworkInterface.GetIsNetworkAvailable() // Use this to check if the Network is available anywhere in the script.
Please give this a try and let me know the results. Thank you and I look forward to your reply.
Regards,
Eric R | Technical Support Engineer
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items