xdscheetos
Member
- Joined
- Nov 11, 2003
- Messages
- 6
Got an answer so fast last time I posted , I thought I might ask for some more help :
Is there a quick way to check an IP address against a network range.
I want to check 192.168.0.15 against my network (192.168.5.1-254) to see if it is (or not in this case) in my IP range.
I have the IP address of my machine now I just need to know if there is a function to make that check...
myIP = System.Net.Dns.Resolve(System.Net.Dns.GetHostName()).AddressList(0)
=> is myIP in 192.168.5.1 to 192.168.5.254
Thanks
Is there a quick way to check an IP address against a network range.
I want to check 192.168.0.15 against my network (192.168.5.1-254) to see if it is (or not in this case) in my IP range.
I have the IP address of my machine now I just need to know if there is a function to make that check...
myIP = System.Net.Dns.Resolve(System.Net.Dns.GetHostName()).AddressList(0)
=> is myIP in 192.168.5.1 to 192.168.5.254
Thanks