Hi,
Calling nSerailHd() without any parametyers :
Is it garantee that nHserialHd always return a number ?
If the PC doesn't has any hard disk what it returns ?
If the PC has more than one hard disk ?
Regards
Antonio
Antonio H Ferreira
Hi,
Calling nSerailHd() without any parametyers :
Is it garantee that nHserialHd always return a number ?
If the PC doesn't has any hard disk what it returns ?
If the PC has more than one hard disk ?
Regards
Antonio
Antonio,
> Is it garantee that nHserialHd always return a number ?
It should
> If the PC doesn't has any hard disk what it returns ?
How did the PC boot then ? Using a CD/DVD or pendrive or network ?
We have not tested it with no HD on the PC.
> If the PC has more than one hard disk ?
You can specify the drive to check: nSerialHD( "D:\" )
But what it would be the returned value if the OC doesn't has any hard dislk ?
Antonio
Antonio,
We don't know it for sure (zero?) You may use Empty( nSerialHD() ) to check for an empty value.
We have never tested it without an available HD
Thanks,
Antonio