using getenv_() I got my actual computer name 'Tim', using HostName(0) I got 'tim-main' - which is my network name. Something doesn't seem right.
I thought "computer name" and "hostname" were the same thing... ? Getting the username wouldnt allow you to identify the computer anyway, you need the hostname (multiple users and all).
I don't know why hostname is getting my network name. If I go My Computer->Computer Name->'Change...' it shows 'tim-main' and my windows login username is 'Tim'.
Getting the username wouldnt allow you to identify the computer anyway, you need the hostname (multiple users and all).
No, hostname would not work, I could simply change my 'computer name' to whatever I want and whatever hes using hostname for would be broken. Best bet is to get the MAC address.