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