String^ path = "ファイル名"; WebRequest^ myWebRequest = WebRequest::Create( path ); WebResponse^ myWebResponse = myWebRequest->GetResponse(); for ( int i = 0; i < myWebResponse->Headers->Count; ++i ) textBox1->AppendText(myWebResponse->Headers->Keys[ i ] + ":" + myWebResponse->Headers[ i ] +"\r\n" );
0 件のコメント:
コメントを投稿