简体   繁体   中英

What happens when a computer is offline and a WebClient makes a request?

What happens when I make a request with a WebClient object when the computer is offline? Is there a way to detect that beforehand. or should I be handling some sort of exception?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM