I'm not quite sure what you mean by "getting a bitmap from a current website". If you want to download and save an image from a webserver, and you know the address of the image, you could do something along these lines:
Code:
using System;
using System.Net;
using System.Drawing;
namespace TestApplication
{
class Program
{
static void Main()
{
// example
DownloadImageAndSave("http://www.google.co.uk/intl/en_uk/images/logo.gif", "test.gif");
}
static void DownloadImageAndSave(String image_address, String target_filename)
{
WebRequest request = WebRequest.Create(image_address);
WebResponse response = request.GetResponse();
Bitmap bitmap = new Bitmap(response.GetResponseStream());
bitmap.Save(target_filename);
bitmap.Dispose();
response.Close();
}
}
}