c# - HostName of IP Camera -


i have ip camera hooked router along other computers. want find ip of camera given dynamically router's dhcp server. ping of possible ips of router see active. want use client name determine if ip camera. when use

dns.gethostentry("[ip of camera]").hostname  

i socketexception: no such host known. host names computers on router show up, , when @ dhcp clients @ router's address shows camera client name. able camera's ip , mac address through arp. there way client name instead of host name?

also, have read examples of querying dhcp server, doesn't work on non-microsoft dhcp servers.

since you're running axis camera's, easiest dns solution multicast dns. other alternative upnp.


Comments