this ->textBox1->
Text=Convert::ToString(Net::Dns::GetHostName());
this ->textBox2->
Text=Convert::ToString(System::Net::Dns::GetHostAddresses(Net::Dns::GetHostName()));
使用此方式...
取得本機IP和NAME...
BOX1的TEXT可以正確取的本機名稱
但是BOX2的TEXT卻一直出現 System.Net.IPAddress[]
請問有人知道這是哪邊出問題嗎?? |