lan_info=System.GetLANInfo();

strHost=lan_info.Host;

From strHost you can get your computer name