AdapterCount Property
The number of adapters in the system.
Syntax
ANSI (Cross Platform) int GetAdapterCount(); Unicode (Windows) INT GetAdapterCount();
@property (nonatomic,readonly,assign,getter=adapterCount) int adapterCount; - (int)adapterCount;
#define PID_IPINFO_ADAPTERCOUNT 2 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IPInfo_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
0
Remarks
This property shows how many adapters are installed in the system. You can set the AdapterIndex from 0 to the AdapterCount, and then examine the Adapter properties such as AdapterDescription, AdapterName, and AdapterIPAddress to retrieve information about each adapter.
This property is read-only.
Data Type
Integer