I have a form that every time a record is inserted or modified it adds the hostname in an SQL field, the detail that when I pass the system to the server where it would be hosted, it puts me the hostname of the server. Could I somehow get the hostname of the machine that is using the system and this save? Currently, I get the hostname from the code in c #
string computer_name = System.Environment.GetEnvironmentVariable("COMPUTERNAME");
Any ideas?