|

the software that grows
with you
| |
|
V32WinInfo()
|
| Retrieves various information about the
system the command is issued. |
|
Syntax
|
| V32WinInfo( [cPath] ) |
|
Arguments
|
| cPath |
An optional character string specifying the path about
information is to be retrieved. |
|
|
Returns
|
An array with following elements:
| Windows Major Version Number |
Numeric major version number of Windows. |
| Windows Minor Version Number |
Numeric minor version number of Windows. |
| Windows Build Number |
Numeric build number. |
| Volume Name of <cPath> |
Character volume name of specified <cPath>. |
| Serial Number in Decimals |
Numeric Serial Number of the Disk. |
| Computer Name |
Character computer name sptipulated for networking. |
| User Name |
Character user name looged in, if defined. |
|
|
Description
|
| This function retieves the necessary
information from the system which can be used for various purposes. Mostly
software protection routines can be bound to this information. |
|
Usage
|
| local aInfo := V32WinInfo()
? 'Major Version: ', aInfo[ 1 ]
? 'Minor Version: ', aInfo[ 2 ]
? 'Build Number: ', aInfo[ 3 ]
? 'Volume Name: ', aInfo[ 4 ]
? 'Disk Serial Number: ', aInfo[ 5 ]
? 'Computer Name: ', aInfo[ 6 ]
? 'User Name: ', aInfo[ 7 ]
|
|
Tips
|
|
|