title: Translating NETBIOS domain into a FQDN (Fully Qualified Domain Name)
body: <p>In short - How do I translate a NETBIOS domain to a FQDN ?</p>
  
  <p>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?</p>
  
  <p>I'm coding in C# but a COM/WMI/Win32 solution would be welcomed as well.</p>