[.NET] NetworkInterface的一個小問題
請輸入專案類型(網站專案或者應用程式專案):應用程式專案
當我嘗試在System.Net.NetworkInformation.NetworkInterface之下,
我不能使用很多如GetPhysicalAddress(),Description,
只含有GelAllNetworkInterfaces(),GetIsNetworkAvailable()之類的。
可是我在宣告Dim abc as NetworkInterface之後,
我就可以使用很多包括abc.GetPhysicalAddress(),abc.Description()的函數。
不曉得大大們可不可以跟我解釋一下為何會這樣,謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.121.9.98
→
08/25 17:39, , 1F
08/25 17:39, 1F
→
08/25 17:52, , 2F
08/25 17:52, 2F
→
08/25 17:53, , 3F
08/25 17:53, 3F
→
08/25 17:54, , 4F
08/25 17:54, 4F
→
08/25 17:54, , 5F
08/25 17:54, 5F
→
08/25 19:45, , 6F
08/25 19:45, 6F