Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a value that specifies whether Zero Trust DNS (ZTDNS) is enabled on the current device.
Syntax
BOOL DnsIsZtEnabled();
Return value
True if ZTDNS is enabled; otherwise, false.
Remarks
Because there is no import library for this function, you must call LoadLibrary, specifying the dll name "dnsapi.dll", and then GetProcAddress, specifying the function name "DnsIsZtEnabled".
Requirements
Requirement | Value |
---|---|
Header | windns.h |