TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
gicio
NA
28
0
Get www site ( Screen Scrapes ) faster??? -= .NET C# / VB.NET =-
Nov 1 2004 6:27 PM
Hi!! I have some code that get the contant of a site and display it... it's a windows form application.... but it's too slow ( BTW: my internet connection isn't slow ;) ) here is my code: [code] textBox1.Text = String.Empty; WebClient currentWebClient = new WebClient(); string strURL = _txtSiteUrl.Text.Trim(); byte[] aRequestedHTML; aRequestedHTML = currentWebClient.DownloadData( strURL ); UTF8Encoding currentUTF8Encoding = new UTF8Encoding(); string strRequestedHTML; strRequestedHTML = currentUTF8Encoding.GetString( aRequestedHTML ); textBox1.Text = strRequestedHTML; [/code] the code problem is this part: [code] aRequestedHTML = currentWebClient.DownloadData( strURL ); [/code] What can I do to get a better performance? Kind Regards, gicio
Reply
Answers (
0
)
Creating a passord protected web page
Key Press (just like Alt+Ctrl+Del) but mine