public Stream HandleMessageStream() { StreamReader reader = new StreamReader(request); string text = "<price>£ 10.00</price>"; UTF8Encoding encoding = new UTF8Encoding(); MemoryStream ms = new MemoryStream(encoding.GetBytes(text)); WebOperationContext.Current.OutgoingResponse.ContentType = "text/html"; return ms; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)