Hello everyone,
I currently clean-up resource in an HttpListenerContext instance in this way.
- Get Request.InputStream, and Close it;- Get Response.OutputStream, and Close it.
My question is,
Is it the correct way to clean-up resouces? Since I did not fonud a Dispose or Close method for this class. Are there any more elegant way to clean-up resouce for HttpListenerContext?
thanks in advance,George