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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -