Dear Friend,
This link will do the thing for you:-
http://forums.asp.net/t/821809.aspx/1[^]
string[] computer_name = System.Net.Dns.GetHostEntry(Request.ServerVariables["remote_addr"]).HostName.Split(new Char[] { '.' }); String ecn = System.Environment.MachineName; txtECN.Text = computer_name[0].ToString();
This link will do the thing for you:-
http://forums.asp.net/t/821809.aspx/1[^]
No comments:
Post a Comment