473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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.
Aug 16 '07 #1
1 5302
Hello, rahul!

You can try to query for it.

IPHostEntry he = Dns.GetHostEntry("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
Aug 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: James M. | last post by:
I have 2x Front-end Web servers (Win2003 Ent IIS6.0), setup with NLB (single Affinity, also using SQLServer session state) that are hosting a few .NET ASP web applications under the Default Website...
2
by: rh0dium | last post by:
Hi all, Ok I have a list hosts = Assumptions: scorpian.fqdn.com == scorpian lan == lan.fqdn.com
0
by: Johan Christensson | last post by:
Hi. I have created a small application that is going to be used as a thes utilitie for a few VPN connections. My application uses WMI to send ICMP ECHO (Ping) to a server on the other side, and...
16
by: Roman Mashak | last post by:
Hello, All! I wrote function parsing the fully-quilified domain name and extracting 'host' and 'domain' parts seperately. The important thing for me is to keep original string (pointed by 'fqdn'...
0
by: ThunderMusic | last post by:
Hi, We are using FQDN Authentication on our web site. The site should receive "DOMAIN/Username" for each user that logs on. The thing is, we receive a 401.1 error each time a user tries to log on...
0
by: Terry Olsen | last post by:
When I try to send an email to user@excite.com, I get the following exception: Command parameter not implemented. The server response was: <winxp32>: Helo command rejected: need fully-qualified...
4
by: talktozee | last post by:
Hey, everyone. I have a server that both hosts multiple websites AND sends mass emails for those multiple websites, but it does NOT receive email for those domains. Each website has both a...
6
by: ajays | last post by:
I want to get the full computer name using the ActiveState Perl on windows . Actually i can get that using the "hostname" command, but i want to have the output of the "hostname" command stored in...
0
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, can someone please tell me how to get the value of the FQDN (Fully Qualified Domain Name) in c#? thanks, rodchar
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.