Created
September 20, 2014 10:10
-
-
Save JonCanning/6ebe1cd0afb21c73b04b to your computer and use it in GitHub Desktop.
Local IP Addresses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| System.Net.Dns.GetHostName() |> System.Net.Dns.GetHostEntry |> fun x -> x.AddressList |> Seq.filter (fun x -> x.AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork) |> Seq.map (fun x -> x.ToString()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment