public DefaultEvent(IPlatformProxy platformProxy, string correlationId, string clientId, IDictionary <string, int> eventCount) : base(EventNamePrefix + "default_event", correlationId) { this[EventNamePrefix + "client_id"] = clientId; this[EventNamePrefix + "sdk_platform"] = platformProxy.GetProductName()?.ToLowerInvariant(); this[EventNamePrefix + "sdk_version"] = MsalIdHelper.GetMsalVersion(); this[EventNamePrefix + "application_name"] = HashPersonalIdentifier(platformProxy.CryptographyManager, platformProxy.GetCallingApplicationName()?.ToLowerInvariant()); this[EventNamePrefix + "application_version"] = HashPersonalIdentifier(platformProxy.CryptographyManager, platformProxy.GetCallingApplicationVersion()?.ToLowerInvariant()); this[EventNamePrefix + "device_id"] = HashPersonalIdentifier(platformProxy.CryptographyManager, platformProxy.GetDeviceId()?.ToLowerInvariant()); this[MsalTelemetryBlobEventNames.UiEventCountTelemetryBatchKey] = GetEventCount(EventNamePrefix + "ui_event", eventCount); this[MsalTelemetryBlobEventNames.HttpEventCountTelemetryBatchKey] = GetEventCount(EventNamePrefix + "http_event", eventCount); this[MsalTelemetryBlobEventNames.CacheEventCountConstStrKey] = GetEventCount(EventNamePrefix + "cache_event", eventCount); }