AdapterIndex Property

Sets the current adapter.

Syntax

ANSI (Cross Platform)
int GetAdapterIndex();
int SetAdapterIndex(int iAdapterIndex); Unicode (Windows) INT GetAdapterIndex();
INT SetAdapterIndex(INT iAdapterIndex);
@property (nonatomic,readwrite,assign,getter=adapterIndex,setter=setAdapterIndex:) int adapterIndex;
- (int)adapterIndex;
- (void)setAdapterIndex:(int)newAdapterIndex;
#define PID_IPINFO_ADAPTERINDEX 9

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IPInfo_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IPInfo_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

When this property is set, the class asks the system for information on the adapter with an index of AdapterIndex. If the system has information, the Adapter properties will be populated with the data returned.

AdapterCount is the number of adapters located in the system.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]