/// <summary> /// Initializes the <see cref="GAnalyticsTracker"/> class. /// </summary> static GAnalyticsTracker() { string userAgentId = Util.Decrypt("+PzrIVxVhL3PBJcRYN2tXg==", CultureConstants.InvariantCulture.NativeName); string clientId = EveMonClient.IsDebugBuild ? "2" : "1"; s_parameters = new GampParameters { ProtocolVersion = "1", TrackerId = $"{userAgentId}-{clientId}", AnonymizeIp = true, ClientId = Util.CreateSHA1SumFromMacAddress(), ApplicationName = EveMonClient.FileVersionInfo.ProductName, ApplicationVersion = EveMonClient.FileVersionInfo.FileVersion, ScreenResolution = $"{Screen.PrimaryScreen.WorkingArea.Width}x{Screen.PrimaryScreen.WorkingArea.Height}", UserAgent = HttpWebClientServiceState.UserAgent }; }