Ramon Leon wrote:
10000 timesRepeat: [NetNameResolver localHostName]
Confirms to me that this is my bug. So... Anyone know a reliable method of getting the computers name that doesn't leak like a sieve?
What Windows version are you running? I've just run the above code on XP and everything went fine, i.e., no handles were leaked.
Cheers, - Andreas