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 - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -