Link to home
Start Free TrialLog in
Avatar of Autofreak
Autofreak

asked on

PC's full name

Hi Guys,
               I need to retrieve the PC's full computer name, used to have an API function in VB6, any idea how to get it in C#??

Thanks
Serge
SOLUTION
Avatar of neilprice
neilprice

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of neilprice
neilprice

Haha, that's a lot neater Zephyr :)

Neil
FullName

MessageBox.Show(Environment.MachineName + "." Environment.UserDomainName);
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Autofreak

ASKER

Man, Is C# neat !? Love IT!
Really appreciate your solutions,
Serge