AdapterDHCPEnabled Property

Shows whether or not the adapter identified by AdapterIndex has DHCP Enabled.

Syntax

ANSI (Cross Platform)
int GetAdapterDHCPEnabled();

Unicode (Windows)
BOOL GetAdapterDHCPEnabled();
@property (nonatomic,readonly,assign,getter=adapterDHCPEnabled) BOOL adapterDHCPEnabled;
- (BOOL)adapterDHCPEnabled;
#define PID_IPINFO_ADAPTERDHCPENABLED 5

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

Default Value

FALSE

Remarks

This property indicates whether or not the adapter identified by AdapterIndex has DHCP Enabled. Dynamic Host Configuration Protocol (DHCP) is used for automatically assigning IP Addresses on a network.

NOTE: This functionality is only available in Windows.

This property is read-only.

Data Type

Boolean

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