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