Page 1 of 1

nSerialHD question again

Posted: Thu Jan 31, 2008 10:08 am
by AHF
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

Posted: Thu Jan 31, 2008 10:18 am
by Antonio Linares
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:\" )

Posted: Thu Jan 31, 2008 11:19 am
by AHF
But what it would be the returned value if the OC doesn't has any hard dislk ?

Antonio

Posted: Thu Jan 31, 2008 11:57 am
by Antonio Linares
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

Posted: Thu Jan 31, 2008 12:32 pm
by AHF
Thanks,

Antonio