Updated Computer Name App

Way back in February 2016 I put together a small C# and XAML application which displayed the users computer hostname, IP address and Active Directory domain. This was to replace a tool used internally at work written in an older code (which still checked out). I had for ages talked about adding a little icon which would also indicate whether the user had connectivity to a specified endpoint or not. This week I decided it was time to get this feature added so I could tick it off my list of things to do… well at least till I decide to add the next feature!

For reference here is the original blog post and a link to the new GitHub repo –



I should remind everyone I’m in no way a programmer/developer so this code could probably be improved vastly – if you want to share how I’m always open to suggestions and learning :)

The examples below are just off a virtual machine I spun up quickly hence the random hostname and workgroup, but they are sufficient to give you an idea of what it looks like. If you click the ‘Copy’ button the on screen host details are placed into the clipboard so you can paste the information into another tool or record.

Example of the app with a status of green meaning connection attempt was successful.

ComputerName Status Green

Example of the app with a status of red meaning connection attempt was not successful.

ComputerName Status Red


C# Code


Leave a Reply