mabra
2007-07-10 20:03:07 UTC
Hi All !
I just copied the sample from the SDK to enum the properties of the
"Win32_OperatingSystem" class, but got the error in subject:
Unhandled Exception: System.Management.ManagementException: Not found
This happens on a x64 computer
Windows Server 2003 R3, x64 Edition, SP2, en, fully patched
.Net Framework 1.1, all SPs
So, this runs a win32 process.
This is surely a bug, the enumeration returns this property!
A code-excerpt is:
foreach (PropertyData property in properties)
{
Console.WriteLine("Description: " +
property.Qualifiers["Description"].Value); //BOMB
...
}
As I mentioned, it's from the SDK ;-)
Each help is very welcomed!
Thanks so far and
best regards,
mabra
I just copied the sample from the SDK to enum the properties of the
"Win32_OperatingSystem" class, but got the error in subject:
Unhandled Exception: System.Management.ManagementException: Not found
This happens on a x64 computer
Windows Server 2003 R3, x64 Edition, SP2, en, fully patched
.Net Framework 1.1, all SPs
So, this runs a win32 process.
This is surely a bug, the enumeration returns this property!
A code-excerpt is:
foreach (PropertyData property in properties)
{
Console.WriteLine("Description: " +
property.Qualifiers["Description"].Value); //BOMB
...
}
As I mentioned, it's from the SDK ;-)
Each help is very welcomed!
Thanks so far and
best regards,
mabra