PC Review


Reply
Thread Tools Rate Thread

How to check a link is already dead or not?

 
 
Cylix
Guest
Posts: n/a
 
      1st Feb 2007
As the title,
I have a url, how can I check is it avalible any more?

Thanks!!!

 
Reply With Quote
 
 
 
 
Tom Shelton
Guest
Posts: n/a
 
      1st Feb 2007
On Feb 1, 2:55 am, "Cylix" <cylix2...@gmail.com> wrote:
> As the title,
> I have a url, how can I check is it avalible any more?
>
> Thanks!!!


use System.Net.WebClient to access the url. See if you get a valid
response.

--
Tom Shelton

 
Reply With Quote
 
=?Utf-8?B?TWljaGVsIFBvc3NldGggW01DUF0=?=
Guest
Posts: n/a
 
      1st Feb 2007
Hi Cylix

By performing a webrequest and check what you get back


Dim WC As New System.Net.WebClient()
Dim sPage As String = New
System.Text.UTF8Encoding().GetString(WC.DownloadData("http:\\www.google.com"))





"Cylix" wrote:

> As the title,
> I have a url, how can I check is it avalible any more?
>
> Thanks!!!
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dead link Ernie Windows XP Basics 4 19th Mar 2007 01:45 AM
Dead Link Ernie Microsoft Outlook 4 19th Mar 2007 12:45 AM
Removing dead Link SteveW Microsoft Excel New Users 3 26th Jul 2006 06:55 PM
dead link in notification box Spyware Discussion 0 19th Jan 2005 04:37 AM
Help & Support - dead link Jake Windows XP General 5 17th Nov 2003 08:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 AM.