DNSEnabled Property
Shows whether DNS is enabled on the local computer.
Syntax
ANSI (Cross Platform) int GetDNSEnabled(); Unicode (Windows) BOOL GetDNSEnabled();
@property (nonatomic,readonly,assign,getter=DNSEnabled) BOOL DNSEnabled; - (BOOL)DNSEnabled;
#define PID_IPINFO_DNSENABLED 27 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 DNS is enabled on the local computer. If true, DNS is enabled, and name resolution will be available.
NOTE: This functionality is only available in Windows.
This property is read-only.
Data Type
Boolean