FQDN

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rahul

    #1

    FQDN

    I have a domain alias "ILDEV". I want to convert this to its corresponding
    Fully Qualified Domain Name. Is there any C# API to do the same ? Or a
    PInvoke in any system dll like Advapi32.


  • Vadym Stetsiak

    #2
    Re: FQDN

    Hello, rahul!

    You can try to query for it.

    IPHostEntry he = Dns.GetHostEntr y("ILDEV");
    string fqdn= he.HostName;

    You wrote on Thu, 16 Aug 2007 14:31:41 +0530:

    rI have a domain alias "ILDEV". I want to convert this to its
    rcorresponding
    rFully Qualified Domain Name. Is there any C# API to do the same ? Or
    ra
    rPInvoke in any system dll like Advapi32.


    With best regards, Vadym Stetsiak.
    Blog: http://vadmyst.blogspot.com


    Comment

    Working...