Saturday, March 23, 2013

Getting the local machine's IP Address

If you haven't seen this before, that's okay because I hadn't either:


The problem I have with this call is that it is mentally deprived. First, how can this be called without already knowing the IP address? It can't meaning, you already have a method to obtain the IP Address.  Why would you want to bother getting the HostName?


This returns my FQDN:   WIN-SEN3DGN4RRM.Mary.Local

Same call but with a different property:



No comments:

Post a Comment