Can someone tell me how I can retrieve the domain name a machine belongs to???

Is there a specfic NET API that I could use

I really need this badly so if someone has any suggestions it would be greatly appreciated...


Thanks
tcompe