[ Home ] [ Features ] [ Products ] [ FAQ's ] [ Screens ] [ Support ] [ Downloads ] [ About ] [ Discussion ]


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

 

[ Home ][ Features ] [ Products ][ About Us ][ FAQ's ][ Screen Shots ][ Downloads ][ Support ][ Discussion ]
.

Vouch is a Trademark of Pritpal Bedi
All other Trade Marks are the property of their respective owners.
Copyright 1993-2011 Pritpal Bedi. All rights reserved.
Hit Counter  
You are Visitor # since 14 May 2002