c# - How to receive a plain web response in the format of a photo and show it in a picture box? -


there website sends photos of users in plain text. link pages follows:

http://example.com/getphoto.asp?id=0123456789 

how can implement windows forms application in c# or vb.net receives plain data , shows image in picturebox?

var url = "http://example.com/getphoto.asp?id=0123456789"; using (var wc = new webclient()) {     picturebox1.image = image.fromstream(wc.openread(url)); } 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -