WMI for Win98SE

P

PawelR

Hello Group,
I've problem how read: Hard disk serial number, and processor serial number
in Windows 98 SE. How use WMI under Win98

Thx PawelR
 
G

gary hitch

there is no serial number property in WMI classes Win32_Processor or
Win32_DiskDrive

the same is true for class CIM_Processor & CIM_DiskDrive

I think you can install the WMI sdk on 98 but much of it doesn't work under
98 - you need NT, 2000, or XP

here is the signiture for class Win32_Processor :

class Win32_Processor : CIM_Processor
{
uint16 AddressWidth;
uint16 Architecture;
uint16 Availability;
string Caption;
uint32 ConfigManagerErrorCode;
boolean ConfigManagerUserConfig;
uint16 CpuStatus;
string CreationClassName;
uint32 CurrentClockSpeed;
uint16 CurrentVoltage;
uint16 DataWidth;
string Description;
string DeviceID;
boolean ErrorCleared;
string ErrorDescription;
uint32 ExtClock;
uint16 Family;
datetime InstallDate;
uint32 L2CacheSize;
uint32 L2CacheSpeed;
uint32 LastErrorCode;
uint16 Level;
uint16 LoadPercentage;
string Manufacturer;
uint32 MaxClockSpeed;
string Name;
string OtherFamilyDescription;
string PNPDeviceID;
uint16 PowerManagementCapabilities[];
boolean PowerManagementSupported;
string ProcessorId;
uint16 ProcessorType;
uint16 Revision;
string Role;
string SocketDesignation;
string Status;
uint16 StatusInfo;
string Stepping;
string SystemCreationClassName;
string SystemName;
string UniqueId;
uint16 UpgradeMethod;
string Version;
uint32 VoltageCaps;
};

no SerialNumber member - same with Win32_DiskDrive

Win32_PhysicalMedia has a serial number member but it only works under XP &
2003 server

you will probably have to open the machine for those items !

if you find another way let us know !

;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top