Get hostname on which a script is running (v8.0.1)

Hi All

Is it possible for a script to query which hostname it is executing on? I tried using System.Net.Dns.Hostname but that always returns the hostname where I have the tools open (I'm invoking an event in object browser which triggers a process which in turn runs the script)

I would like to know, within the script, which hostname it is running on, or the job service which is executing the script - is it possible?

Thanks

Kin