Namespace: System.Net
The WebClient class provides common methods for sending data to or receiving data from any local, intranet, or Internet resource identified by a URI.
The WebClient class uses the WebRequest class to provide access to resources. WebClient instances can access data with any WebRequest descendant registered with the WebRequest.RegisterPrefix method.
Code:
Thanks the post
Another C# Code Format link:
ReplyDeletehttp://www.manoli.net/csharpformat/
Later, I think I will have my owner.