ups :-O
just realized that the enums PlatformId and ServerType are defined in another file.
public enum PlatformId
{
Unknown = 0,
DOS = 300,
OS2 = 400,
NT = 500,
OSF = 600,
VMS = 700,
}
[Flags]
public enum ServerType
{
Workstation = 0x00000001, // A LAN Manager workstation
Server = 0x00000002, // A LAN Manager server
SqlServer = 0x00000004, // Any server running with Microsoft SQL Server
DomainController = 0x00000008, // Primary domain controller
DomainBackupController = 0x00000010, // Backup domain controller
TimeSource = 0x00000020, // Server running the Timesource service
Afp = 0x00000040, // Apple File Protocol server
Novell = 0x00000080, // Novell server
DomainMember = 0x00000100, // LAN Manager 2.x domain member
PrintQueueServer = 0x00000200, // Server sharing print queue
DialinServer = 0x00000400, // Server running dial-in service
XenixServer = 0x00000800, // Xenix server
ServerUnix = XenixServer,
NT = 0x00001000, // Windows Server 2003, Windows XP, Windows 2000, or Windows NT
Wfw = 0x00002000, // Server running Windows for Workgroups
ServerMFPN = 0x00004000, // Microsoft File and Print for NetWare
ServerNT = 0x00008000, // Windows Server 2003, Windows 2000 server, or Windows NT server that is not a domain controller
PotentialBrowser = 0x00010000, // Server that can run the browser service
BackupBrowser = 0x00020000, // Server running a browser service as backup
MasterBrowser = 0x00040000, // Server running the master browser service
DomainMaster = 0x00080000, // Server running the domain master browser
ServerOSF = 0x00100000,
ServerVMS = 0x00200000,
Windows = 0x00400000, // Windows Me, Windows 98, or Windows 95
DFS = 0x00800000, // Root of a DFS tree
ClusterNT = 0x01000000, // NT Cluster
TerminalServer = 0x02000000, // Terminal Server
ClusterVsNT = 0x04000000, // Cluster virtual servers available in the domain
Dce = 0x10000000, // IBM DSS (Directory and Security Services) or equivalent
}