I am having trouble finding the computer name of my computers on my network with my program.
I want to be able to capture the computer name of my other system when it runs a .exe on my server. I am new to the API scene so I hope someone can point me in the right direction.

What other ways could it be done?
I would appreciate any help.