Hello , i have to try to connect one ip address in my desktop application with the dns.beginhostentry but it gives error "no such host is known" while i am using with alias its works fine for the same ip address. example : string ip_address ="123.456.789.012" string alias = "mymachine" 'this is alias of above ip address. DNS.BeginGetHostEntry(ip_address,abcd,this); this statement does not works. it show the error that "no such host is known". while DNS.BeginGetHostEntry(alias,abcd,this); this statement does works no issues at all. please solve this query. thanks
Note : i dont want to do host entry into the host file of the any particular pc. because i want to fix the ip address at all.
BeginGetHostEntry
System.Net.IPAddress
IPAddress
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)