Watch Pre-recorded Live Shows Here
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
David Smith
0
2k
0
The webclient Uploadfile Methods Hangs
Feb 1 2018 4:10 PM
The webclient Uploadfile method randomly Hangs. Can someone give me some assistance on the why the webclient UploadFile() function hangs.
WebClient client =
new
WebClient();
client.Credentials = CredentialCache.DefaultCredentials;
client.UploadFile(ipaddr,
"POST"
, @
"C:\Temp\ImageShow\White--Dot.png"
);
//It hangs on this line randomly
client.Dispose();
Reply
Answers (
1
)
How to display a specific message when wrong input entered?
NullReferenceException in Unity