public DeviceModel(HttpRequest request) { Type = GetDeviceType(request); IsCrawler = HttpRequestHelper.IsCrawlerRequest(request); // Marker MarkerName = HttpRequestHelper.GetMarkerName(request); MarkerVersion = HttpRequestHelper.GetMarkerVersion(request); // OS OsName = HttpRequestHelper.GetOsName(request); OsVersion = HttpRequestHelper.GetOsVersion(request); // Engine EngineName = HttpRequestHelper.GetEngineName(request); EngineVersion = HttpRequestHelper.GetEngineVersion(request); // Browser BrowserName = HttpRequestHelper.GetBrowserName(request); BrowserVersion = HttpRequestHelper.GetBrowserVersion(request); // Location by GeoCity Database UpdateLocation(request); // Others UserAgent = HttpRequestHelper.GetUserAgent(request); DeviceHash = GetDeviceHash(); }