I have a service application running on an application server. As part of that, I need to be able to identify the "full computer name" or UNC name of the server running the service.
So for example, I could use :
My.Computer.Name
Or
System.Environment.MachineName
But both of these just return the NETBIOS name i.e. ABCD1234
I want the fully qualified name recognisable across the network, i.e. ABCD1234.mydomain.mysubdomain.com
How can I achieve this easily in VB.NET, it seems like such a simple thing to retrieve but I can't find a method anywhere?
Thanks
Al