6 references to DeviceId
aspire (6)
src\Shared\Telemetry\UnixMachineInformationProvider.cs (2)
39var existingValue = await ReadValueFromDisk(cachePath, DeviceId).ConfigureAwait(false); 46if (await WriteValueToDisk(cachePath, DeviceId, deviceId).ConfigureAwait(false))
src\Shared\Telemetry\WindowsMachineInformationProvider.cs (4)
33if (TryGetRegistryValue(RegistryPathRoot, DeviceId, out var existingDeviceId)) 40_logger.LogError(ex, "Unable to fetch {Key} value from {RegistryRoot}.", DeviceId, RegistryPathRoot); 47if (TrySetRegistryValue(RegistryPathRoot, DeviceId, newDeviceId)) 54_logger.LogError(ex, "Unable to persist {Key} in {RegistryPath}.", DeviceId, RegistryPathRoot);