Downloading a file is a common task, and it is often useful to run this potentially time-consuming operation on a separate thread . Use the BackgroundWorker component to accomplish this task with very little code.
This Application is used to list all the files in a folder or directory . This application is developed by .NET Framework and the C# programming language. The framework provides powerful methods on the Directory class that can help you list files on the file system. The Directory.GetFiles method allows you to get a string array of the file names.
The main objective of Windows-based programming is to create applications that are linked to databases, have user-friendly interfaces (Windows forms), and are capable of running on most platforms. The C# language having this capability by creating winforms to connecting data sources using ADO.NET technology.
In System.Net namespace the FtpWebRequest class is used for implementing a File Transfer Protocol(FTP) client . By using Credentials property first the .NET framework connect to FTP Server then The Create method is creates the file with same name as we selected by browse button, After that the file is reading by using OpenRead() method of FileStream class to a buffer, And then the buffer data is sequentially copied to FTP server File.
The Microsoft .NET framework provides two namespaces, System.Net and System.Net.Sockets for managed implementation of Internet protocols that applications can use to send or receive data over the Internet .The SMTP (Simple Mail Transfer Protocol) is using for sending email from C# code. The Below application is used to Describe How to send a mail from Gmail account using C# code.
New to .Net- Please suggest an approach to learn .net? A common question for every .Net Beginner is how do I start .Net, one such question I come across was exactly my question when I had started my career in .Net .