Get the name server at the specified index from a network interface details structure.
#include <bps/netstatus.h>
BPS_API const char* netstatus_interface_get_name_server(netstatus_interface_details_t *details,
int index)
BlackBerry 10.0.0
The netstatus_interface_details_t structure to get the name server from.
The index of the name server to get. Must be in the range 0 to netstatus_interface_get_num_name_servers() - 1.
The netstatus_interface_get_name_server() function gets the name server at the specified index from the specified netstatus_interface_details_t structure.
The name server at the specified index, or NULL if the index is invalid.