oroborus: life ever lasting. nature.
Intrafoundation Software

 

CFX_SystemInfo (1.0) March 05 2004

by Lewis A. Sellers

Send related correspondence to: webmaster@intrafoundation.com

Windows ColdFusion CFX [w/ C source code]

Description

The CFX_SystemInfo tag returns basic information about the machine it's installed on (computer name, processor type, drive free space & type, etc).

With complete C/C++ source code.

Specfically it returns the following fields:

* ComputerName
* CurrentDirectory
* VersionInformation
* OsVersionInfoSize
* MajorVersion
* MinorVersion
* BuildNumber
* PlatformID
* CSDVersion
* ProcessorArchitecture
* PageSize
* MinimumApplicationAddress
* MaximumApplicationAddress
* ActiveProcessorMask
* NumberOfProcessors
* ProcessorType
* AllocationGranularity
* ProcessorLevel
* ProcessorRevision
* StorageVolumes A query containing a list of all hard drives, cd-roms, etc on the machine. Fields returned are:
o label
o FSName (name of the file system type: NTFS, FAT, etc)
o FSLength (max length of a filename)
o Serial (in hexidecimal)
o Free (bytes)
o Drive (A through Z)

V e r s i o n H i s t o r y

* 1.0, mar 5th 2004. Verified worked under CFMX 6.1. A little bit of cleaning up while I was looking at it.
* 0.3, feb 10 2003. Added "Drives" field.
* 0.1, Jan 21 200. Corey Snipes reports it fails on >4gb drives. Changed computation variable from normal 32-bit to 64-bit which should handle up to 2^64 = 1.84467440737e19 bytes. ie, I don't expect I'll have to change that again anytime soon. /-)
* 0.0, june 23 1999.

Version History


There is no known history available.


There is no gallery currently available.