We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Microsoft
OperatingSystemInfo.Name
1 parent 173d51a commit 46e9273Copy full SHA for 46e9273
1 file changed
src/PSADT/PSADT/DeviceManagement/OperatingSystemInfo.cs
@@ -54,7 +54,7 @@ static bool IsOperatingSystemEnterpriseMultiSessionOS(OS_PRODUCT_TYPE productTyp
54
ubr = ubrValue;
55
}
56
DisplayVersion = (string?)key.GetValue("DisplayVersion");
57
- productName = (string)key.GetValue("ProductName")!;
+ productName = $"Microsoft {(string)key.GetValue("ProductName")!}";
58
editionId = (string?)key.GetValue("EditionID");
59
60
0 commit comments