Rob van der Woude's Scripting Pages

Help text for SystemInformationDLL.cs

(view help text of SystemInformationDLL.cs as plain text)

SystemInformation.dll, Version
Read-only COM wrapper for SystemInformation

Usage in VBScript:

Set objSysInfo=CreateObject( "RobvanderWoude.SystemInformation" )
' Read some property values
WScript.Echo objSysInfo.UserName
WScript.Echo objSysInfo.MonitorCount
' Get the DLL's version
WScript.Echo objSysInfo.GetVersion( )
' List all available property names
WScript.Echo objSysInfo.ListPropertyNames( )
' List all property names and their values
Wscript.Echo objSysInfo.ListPropertyValues( )

Note: All property values are returned as string or 32-bit integer.

Copyright (C) 2020 Rob van der Woude

page last uploaded: 2022-10-05