How to convert an IPv4 address into a integer in C#?

Posted by GateKiller on Stack Overflow See other posts from Stack Overflow or by GateKiller
Published on 2009-01-20T15:25:57Z Indexed on 2010/05/02 20:27 UTC
Read the original article Hit count: 274

Filed under:
|
|
|
|

I was going to attempt to write this function myself but I thought that someone on SO might know the answer :)

I'm basically looking for a function that will convert a standard IPv4 address into an Integer. Bonus points available for a function that will do the opposite.

Solution should be in C#.net.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ip