i am getting stream from httpwebresponse which is send by the another web server, here i want to convert this web stream to Bitmap and then this converted image is used to show as response in c#.
HttpWebRequest myWebRequest = (HttpWebRequest)WebRequest.Create(url);
using (HttpWebResponse myResp = (HttpWebResponse)myWebRequest.GetResponse())
{
if (myResp.ContentType.Contains("image/jpeg"))
{
Stream myStream = myResp.GetResponseStream();