Hi there,
I dont' really use much of the .net/managed vc code, so I'm still pretty new to it....but I want to access https web sites....


so using the code:

Net::WebRequest* request = Net::WebRequest::Create(S"http://www.microsoft.com");
Net::WebResponse* response = request->GetResponse();
IO::StreamReader* reader = new IO::StreamReader(response->GetResponseStream());
while(true){
String *lpStr = NULL;
lpStr = reader->ReadLine();
if(lpStr == NULL) break;
Console::WriteLine(lpStr);
}
reader->Close();

I can get the web html...is there a further way of getting the web headers....e.g. the content type etc...which is usually at the top of the html code?
And how do I post data in reply to a http web page using .NET code? for example in reply to a POST submission?

Thanx for any tips or ideas...really appreciate it.

Thanx again

Ben