My question is correct or incorrect I don\'t know, but I would like to know if is it possible to return the value of UploadStringAsync() of post methods using WebClient?
<
There is nothing to return from that function. You've already set up an event handler for UploadStringCompleted, you can get the result of the action in the handler.
This is the signature:
public delegate void UploadStringCompletedEventHandler(
Object sender,
UploadStringCompletedEventArgs e
)
The second parameter has the information you need: UploadStringCompletedEventArgs, the Result property contains the server's response.