Dim responseString As String = "<html>Welcome to my web server<img src = ""..."" alt = ""no image""></html>" 'So the html is <html>Welcome to my web server<img src = "..." alt = "no image"></html> Dim buffer() As Byte = System.Text.Encoding.UTF8.GetBytes(responseString) response.ContentLength64 = buffer.Length Dim output As System.IO.Stream = response.OutputStream output.Write(buffer, 0, buffer.Length)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)