4 Replies - 506 Views - Last Post: 04 June 2010 - 03:45 PM Rate Topic: -----

#1 Daniel.  Icon User is offline

  • New D.I.C Head

Reputation: -4
  • View blog
  • Posts: 25
  • Joined: 22-April 10

C# WebClient is delayed ?

Posted 04 June 2010 - 03:03 PM

Hello, I am trying to check a webPage status with WebClient

            WebClient wC = new WebClient();
            string source = wC.DownloadString("myURL");
            wC.Dispose();

            TextWriter tW = new StreamWriter("C:/text.txt");
            tW.Write(source);
            tW.Close();


But it seems to have a huge delay!
The changes is applied only some minutes after I see the changes in my regular browser :\
It seems that the web getting updated every 10 minutes or so, but how my browser getting the updates immediately ?

This post has been edited by Daniel.: 04 June 2010 - 03:14 PM


Is This A Good Question/Topic? -1
  • +

Replies To: C# WebClient is delayed ?

#2 elbielefeld  Icon User is offline

  • D.I.C Head

Reputation: 70
  • View blog
  • Posts: 217
  • Joined: 18-May 10

Re: C# WebClient is delayed ?

Posted 04 June 2010 - 03:28 PM

Hi,

What do you mean with changes? What do you mean with "the web getting updated"?`What do you mean with "browser getting the updates"? What do you exactly want to do?
Was This Post Helpful? 0
  • +
  • -

#3 Daniel.  Icon User is offline

  • New D.I.C Head

Reputation: -4
  • View blog
  • Posts: 25
  • Joined: 22-April 10

Re: C# WebClient is delayed ?

Posted 04 June 2010 - 03:35 PM

Hi, its seems that only IExplorer has the problem.
Is there any other way to ask for a web response ?
Was This Post Helpful? -1
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1642
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: C# WebClient is delayed ?

Posted 04 June 2010 - 03:36 PM

I have no idea what you're asking or what is going on?
Was This Post Helpful? 1
  • +
  • -

#5 Daniel.  Icon User is offline

  • New D.I.C Head

Reputation: -4
  • View blog
  • Posts: 25
  • Joined: 22-April 10

Re: C# WebClient is delayed ?

Posted 04 June 2010 - 03:45 PM

never mind. Can close the thread.
Was This Post Helpful? -1
  • +
  • -

Page 1 of 1