I have a WPF client application. Through which I want to upload a file to my web server.
How to do that?
I have a WPF client application. Through which I want to upload a file to my web server.
How to do that?
WebClient.UploadFile is the way to go in your case. Sample code is provided in the MSDN article (both for C# and VB.NET).