Using WebClient class of .Net Framework, we can download file from ftp server in the following way - WebClient request = new WebClient();
request.Credentials = new NetworkCredential(userName, password);
return request.DownloadData(path);
Sometimes it becomes necessary to find out the directory where the current executing assembly is running. Among several ways to do the task , the following code–snippet can be employed to return the
Just sat for the exam 70-503 TS: Microsoft .NET Framework 3.5 - Windows Communication Foundation yesterday. It was really fun to sit for the beta exam though it was pretty long -
The common language runtime in .Net Framework supports two kind of fields – readonly and read/write fields. As name suggests, value in the read/write fields can be assigned as many times as
By definition, constants are fixed numbers or values which represent the universal facts. When comes to programming language, it represents the same analogy- symbol with “Never-Changing Value”. In .Net Framework, constant(const) represent