codice:
std::string GetHttp(std::string indirizzo)
{
	IStream * is;
	char buffer[256];
	std::string ret;

	if(URLOpenBlockingStream(NULL,indirizzo.c_str(),&is,0,NULL)!=S_OK)
		throw std::runtime_error("Impossibile effettuare il download del file.");
	else
	{
		ULONG readBytes;
		while(is->Read(buffer,sizeof(buffer),&readBytes)==S_OK)
			ret.append(buffer, readBytes);
		is->Release();
	}
	return ret;
}