11,567 questions
testing if a url is reachable or not
hannes
6
Reputation points
Hi, i'm trying to write a C# function, which should check if url is reachable or not.
This is what i got so far:
The Problem is, that the function always runs into to catch part. It doesn't care if the url is reachable or not.
Can anyone help me with this problem?
Developer technologies C#
Sign in to answer