Aurora.Services.WebAPIConnector.LogAPICall C# (CSharp) Метод

LogAPICall() публичный Метод

public LogAPICall ( UUID user, string method ) : bool
user UUID
method string
Результат bool
        public bool LogAPICall(UUID user, string method)
        {
            DateTime now = DateTime.Now;
            uint ut = Utils.DateTimeToUnixTime(now);
            DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0);
            origin.AddSeconds(ut);
            return GD.Insert(c_table_accessLog, new object[3]{
                user,
                method,
                ut + (((now.Ticks - origin.Ticks) / 10000000.0) % 1)
            });
        }