6 references to DeviceId
aspire (6)
Telemetry\UnixMachineInformationProvider.cs (2)
36var existingValue = await ReadValueFromDisk(cachePath, DeviceId); 43if (await WriteValueToDisk(cachePath, DeviceId, deviceId))
Telemetry\WindowsMachineInformationProvider.cs (4)
30if (TryGetRegistryValue(RegistryPathRoot, DeviceId, out var existingDeviceId)) 37_logger.LogError(ex, "Unable to fetch {Key} value from {RegistryRoot}.", DeviceId, RegistryPathRoot); 44if (TrySetRegistryValue(RegistryPathRoot, DeviceId, newDeviceId)) 51_logger.LogError(ex, "Unable to persist {Key} in {RegistryPath}.", DeviceId, RegistryPathRoot);