Yan Cui
I help clients go faster for less using serverless technologies.
1 2 3 4 5 6 7 8  | // get the host IP addressesvar hostIPs = System.Net.Dns.GetHostAddresses("LocalHost");// get the local computer namevar localHostName = System.Net.Dns.GetHostName();// get the local IP addressesvar localIPs = System.Net.Dns.GetHostAddresses(localHostName); | 
And here’s the full example with a method to check whether an IP address is local:
http://www.csharp-examples.net/local-ip/
Whenever you’re ready, here are 3 ways I can help you:
- Production-Ready Serverless: Join 20+ AWS Heroes & Community Builders and 1000+ other students in levelling up your serverless game. This is your one-stop shop for quickly levelling up your serverless skills.
 - I help clients launch product ideas, improve their development processes and upskill their teams. If you’d like to work together, then let’s get in touch.
 - Join my community on Discord, ask questions, and join the discussion on all things AWS and Serverless.
 
