使用Cocoa / Objective-C,在Mac OS X中获取当前连接的网络的安全类型 [英] Using Cocoa / Objective-C, get currently connected network's security type in Mac OS X
本文介绍了使用Cocoa / Objective-C,在Mac OS X中获取当前连接的网络的安全类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在我的Objective-C / Cocoa程序中获取机场中当前连接的网络的安全类型(和其他信息)?
How do I get the security type (and other information) of the currently connected network in Airport in my Objective-C / Cocoa program?
推荐答案
请参阅 SysConfig
API上的苹果文档,它允许您读取网络连接的许多属性:
See the apple documentation on the SysConfig
API, which allows you to read that and many properties of network connections:
http://开发人员。 apple.com/library/mac/#documentation/Networking/Reference/SysConfig/index.html
这篇关于使用Cocoa / Objective-C,在Mac OS X中获取当前连接的网络的安全类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文