[C#] [C#] 웹 이미지를 C# 에서 불러오는 함수
하나를하더라도최선을
2020-08-29 16:22
1,635
0
본문
public Bitmap WebImageView(string URL)
{
try
{
WebClient Downloader = new WebClient();
Stream ImageStream = Downloader.OpenRead(URL);
Bitmap DownloadImage = Bitmap.FromStream(ImageStream) as Bitmap;
return DownloadImage;
}
catch (Exception)
{
return null;
}
}
댓글목록0