NPKIGetServerDNSName
Retrieves the DNS name for a server (formerly NWPKIGetServerDNSName).
#include "npki.h"
NWRCODE NPKIGetServerDNSName(
const NPKIContext context,
nuint32 index,
unicode const **DNSName);
Returns 0 if successful, or PKI error code if not successful.
NPKIGetServerDNSName can only be used after a successful call to NPKIGetServerIPAndDNSInfo, followed by a successful call to NPKIGetServerIPAddress.