Auto Convert Domain to Ip with no Netframework needed

08/26/2011 04:19 marlyandedsel#1
Yes, do you have any idea how to convert domain to ip that doesn't need NetFramework 4.0 or something like that.... using c#?

Thanks!
08/27/2011 11:43 Korvacs#2
Something like this:

Code:
string iplookup = "www.example.com";
IPAddress[] addresslist = Dns.GetHostAddresses(iplookup);

foreach (IPAddress theaddress in addresslist)
{
   Console.WriteLine(theaddress.ToString());
}
For things like this can you learn how to google, it has nothing to do with Conquer =x
08/27/2011 15:29 marlyandedsel#3
it is related to Conquer because if someone want to host using dynamic ip they can... anyway thanks for the guide, I have made one but it uses netframework.
08/27/2011 16:17 BaussHacker#4
Quote:
Originally Posted by marlyandedsel View Post
it is related to Conquer because if someone want to host using dynamic ip they can... anyway thanks for the guide, I have made one but it uses netframework.
It's not Conquer related. It can be used for anything related to such subject.
08/28/2011 01:01 kobb#5
he just created the thread here so anyone who`s encountering the same problem will be able to search for it. you dont need to be harsh...
08/28/2011 03:43 Spirited#6
Quote:
Originally Posted by kobb View Post
he just created the thread here so anyone who`s encountering the same problem will be able to search for it. you dont need to be harsh...
Huh? That doesn't even make sense. And nobody's being harsh.
Don't make stupid, awkward statements.
08/28/2011 03:51 BaussHacker#7
Quote:
Originally Posted by kobb View Post
he just created the thread here so anyone who`s encountering the same problem will be able to search for it. you dont need to be harsh...
Where are we harsh? :)

Btw. OP C# always needs .NET Framework 2.0 or above.
08/28/2011 04:13 kobb#8
why do i even bother to argue with you?:-/ well, i will not so bb
08/28/2011 13:58 marlyandedsel#9
I think c++ will do?
08/28/2011 15:31 BaussHacker#10
Quote:
Originally Posted by marlyandedsel View Post
I think c++ will do?
C++ will do what? Use .NET Framework? Only if it's managed, but when using C++ you should always use unmanaged, then it won't need. C++ is a native language.