[Mono-osx] How to handle CFArrayRef?
Sebastian Mauer
sebastian.mauer at rwth-aachen.de
Mon Apr 21 16:25:16 EDT 2008
Hello there,
I'm currently implementing part of the Apple80211.framework, and made good
progress until now.
The function WirelessScan will pass me a pointer to a CFArrayRef (part of
CoreFoundation) which contains several WirelessNetworkInfo structs and I'm
not sure how to map/handle them within c#
extern WIErr WirelessScan(
WirelessContextPtr inContext,
CFArrayRef *apList,
const UInt32 stripDups);
This is the information I got from the respective header file:
* It will allocate 2 CFArrays to store a list
* of managed and adhoc networks. The arrays hold CFData
* objects which contain WirelessNetworkInfo structures.
What can I do to ultimately recieve an Array out of WirelessNetworkInfo
structs?
Greetings,
Sebastian Mauer
More information about the Mono-osx
mailing list