Detecting OS version on LAN computers
From: nicolasr (nicolasrNOSPAMATSIGNgmx.net)
Date: 03/30/04
- Next message: Stanley Feng \(MSFT\): "Re: Very mysterious socket behaviour"
- Previous message: Stanley Feng \(MSFT\): "Re: Memory-mapping TCP/UDP send/recv buffer?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 31 Mar 2004 01:06:12 +0200
Hi,
I'm trying to detect the Windows version of computers in a LAN
using NetServerEnum(). This function returns a structure for each
computer that contains a platform ID. According to the SDK help
this ID can be one of the following:
PLATFORM_ID_DOS
PLATFORM_ID_OS2
PLATFORM_ID_NT
PLATFORM_ID_OSF
PLATFORM_ID_VMS
For a Win98 machine the returned ID is PLATFORM_ID_OS2.
I'm wondering whether this is how it's supposed to be??
I need to tell NT/2K/XP from 95/98/ME machines. Which IDs I
must check for?
Any comment welcome!
Nick
- Next message: Stanley Feng \(MSFT\): "Re: Very mysterious socket behaviour"
- Previous message: Stanley Feng \(MSFT\): "Re: Memory-mapping TCP/UDP send/recv buffer?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|