Esempio n. 1
0
        public void RegisterUserLog(int userid)
        {
            try
            {
                //string computername = System.Net.Dns.GetHostEntry("").HostName;
                // string computername = System.Environment.MachineName;
                string computername = GetComputerName(Request.UserHostAddress);

                int result = us_dll.RegisterUserLog(userid, computername);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }