|
-
June 2nd, 2008, 07:41 AM
#1
release resource for WebClient class
Hello everyone,
I find there is no resource release method for WebClient class, e.g. a method called "Close".
My usage scenario is,
1. Creating a new instance of WebClient;
2. Post byte[] data using UploadData method, and retrieve return data also using byte[].
In my scenario, are there any need to call some methods to release the resource (I suepect there is request stream handle and response stream handle to release)?
thanks in advance,
George
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|