अजपा योग क्रिया आणि ध्यान : श्वास, मंत्र, मुद्रा आणि ध्यान यांच्या सहाय्याने मनःशांती, एकाग्रता, चक्र संतुलन आणि कुंडलिनी जागृती. अधिक माहिती आणि आगामी तारखांसाठी येथे जा.


<%@ Page %>

Developing a Multi-threaded Downloader

Introduction

Developing multithreaded applications was always been a difficult task for average programmers. .NET allows creating such applications easily. In this code demo we will how to develop an application that downloads multiple files from web simultaneously.

What you will learn?

This demo illustrates following techniques:
  • How to use multithreading in .NET
  • How to use HttpWebRequest and HttpWebResponse classes to download a file over HTTP
  • How to write the data received to a file
  • How to use windows ListView control
  • How to refresh the ListView to reflect progress of the download
  • How to notify the client of completion using events

How to test and run the code

Following steps will help you to test and run the code:
  • Create a Windows Forms application in C# using VS.NET
  • Unzip supplied source code files in the application folder
  • Add the files in the VS.NET project
  • Compile the project
  • Run the project
  • Enter some URLs to download file from

Bipin Joshi is an independent software consultant and trainer by profession specializing in Microsoft web development technologies. Having embraced the Yoga way of life he is also a meditation teacher and spiritual guide to his students. He is a prolific author and writes regularly about software development and yoga on his websites. He is programming, meditating, writing, and teaching for over 27 years. To know more about his ASP.NET online courses go here. More details about his Ajapa Japa and Shambhavi Mudra online course are available here.

Posted On : 17 May 2002