In short - How do I translate a NETBIOS domain to a FQDN ?
Details: Assuming I'm in domain A and I have user credentials for domain B which has a trust relationship with domain A (I can authenticate the credentials). How do I get domain B's FQDN when all I have are the credentials of some authenticated user from that domain, including the netbios domain name?
I'm coding in C# but a COM/WMI/Win32 solution would be welcomed as well.