I found this question for getting FQDN of localhost. My question is, is there any way to get the FQDN of machine which is not in same domain as host machine where we query in c#.
For eg: on machineA (in Domain A) runs a program to find out FQDN of machineB (in Domain B).