Convert C# Web App in C# library -- problem with Response Object
<p>I try to convert a part of a C# Web App to make a C# Library. </p>

<p>I used a Response object, but this one is no more recognized in the C# library. </p>

<p>Here some code: </p>

<pre><code>// Create a CAPTCHA image using the text stored.
CaptchaImage ci = new CaptchaImage(textCaptcha, 200, 50, "Century Schoolbook");

// Change the response headers to output a JPEG image.
this.Response.Clear();
this.Response.ContentType = "image/jpeg";

// Write the image to the response stream in JPEG format.
ci.Image.Save(this.Response.OutputStream, ImageFormat.Jpeg);

// Dispose of the CAPTCHA image object.
ci.Dispose();
</code></pre>

<p>How to use the Response object, or change it with something better?
Thx</p>
