使用互操作在C#中使用GetIfTable()? [英] Using GetIfTable() in C# using interop?
问题描述
http://social.msdn.microsoft.com/Forums/zh-CN/csharpgeneral/thread/3347a33a-1562-4643-ad80-0823e19a37f0/ 我看过 本文,但我仍然不知道如何获取网络日期.使用这些代码,我没有任何数据,我不知道为什么吗?
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/3347a33a-1562-4643-ad80-0823e19a37f0/ I had seen this article, but I still don't know how to get the date of the network. Using these code, I get no data, I don't konw why?
请帮助我吗?
推荐答案
您好,
感谢您的信息.
在复制您提到的线程的场景之后,我发现我得到的是网络状态描述,而不包括网络日期.我认为这很正常,日期不是网络状态,对吗?据我所知,GetIfTable()不能 得到净日期.您可能已经从MSDN库中阅读了这篇文章: http://msdn.microsoft.com/zh-CN/library/aa365943(v=vs.85).aspx
After repro the scenario of the thread you mentioned, I found that what I got was the network status description, not include the network date. I think this is normal, date is not the status of network, right? And as far as I know GetIfTable() cannot get the net date. You might have already read this article from MSDN library: http://msdn.microsoft.com/en-us/library/aa365943(v=vs.85).aspx
我不确定您是否有拼写错误:数据还是日期?
I am not sure if you have a spelling mistake: data, or date?
我得到的是如下图:
我希望这可以为您提供帮助,如果您有任何疑问,请随时让我知道.
I hope this can help you, if you have any questions, please feeel free let me know.
祝你有美好的一天,
这篇关于使用互操作在C#中使用GetIfTable()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!