Search found 95 matches: nserialhd

Searched query: nserialhd

by Marc Vanzegbroeck
Thu Mar 11, 2021 10:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

Yes now I see. :D

It's NUMTOHEX( NSERIALHD() ) that give the same result as the VOL command.

So NSERIALHD() is not the real serial-number. After re-formating it, it will be different then.

There are also utilities to change it :cry:
by Enrico Maria Giordano
Thu Mar 11, 2021 9:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

nSerialHD() returns the number of the VOL command.

EMG
by Marc Vanzegbroeck
Thu Mar 11, 2021 9:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

It's added now :D
Enrico Maria Giordano wrote:You forgot the code. :-)

EMG
by Enrico Maria Giordano
Thu Mar 11, 2021 9:43 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

You forgot the code. :-)

EMG
by Marc Vanzegbroeck
Thu Mar 11, 2021 9:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

Code: Select all | Expand

nSerialHD() = 410452486
NUMTOHEX( NSERIALHD() ) = 18770206
wmic diskdrive get serialnumber = S3TRNA0M316529
 
by Enrico Maria Giordano
Thu Mar 11, 2021 6:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

Can I see a sample of such serial?

EMG
by Marc Vanzegbroeck
Thu Mar 11, 2021 5:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

Unfortunately give this also a number.

Enrico Maria Giordano wrote:Try

Code: Select all | Expand

? NUMTOHEX( NSERIALHD() )


EMG
by Enrico Maria Giordano
Thu Mar 11, 2021 4:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

Re: nserialhd() vs serialnumber

Try

Code: Select all | Expand

? NUMTOHEX( NSERIALHD() )


EMG
by Marc Vanzegbroeck
Thu Mar 11, 2021 3:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 1132

nserialhd() vs serialnumber

Hello,

What is the different between the serialnumber returned by nSerialHD() and the number returned by the dos-command
wmic diskdrive get serialnumber


I'm always use nSerialHD(), but I see that the other number is also with characters, instead only numbers.
by noe aburto
Wed May 13, 2015 10:31 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Protejer EXE contra copias
Replies: 7
Views: 2086

Re: Protejer EXE contra copias

... el numero de serie del disco duro, y este se registre en una DBF
y asi validar automaticamente si es una instalacion valida.

Mi duda.

MsgInfo( nSerialHD() ) // Check default drive

MsgInfo( nSerialHD( "C:" ) ) // Serial number on HardDisk

me regresan valores diferentes, y necesito saber si estas ...
by karinha
Mon Aug 11, 2014 12:36 pm
Forum: FiveWin para Harbour/xHarbour
Topic: mismo HD diferentes nserialhd("C")... porque?
Replies: 1
Views: 519

Re: mismo HD diferentes nserialhd("C")... porque?

Intenta asi:

Code: Select all | Expand


   XSERIALHD := ALLTRIM( STR( nSerialHD( "C:\" ) ) )


Saludos.
by goosfancito
Sat Aug 09, 2014 1:30 pm
Forum: FiveWin para Harbour/xHarbour
Topic: mismo HD diferentes nserialhd("C")... porque?
Replies: 1
Views: 519

mismo HD diferentes nserialhd("C")... porque?

hola.

la misma función ejecutada desde dos programas diferentes que estan en la misma unidad "h"
devuelven diferentes numeros, por qué?

Code: Select all | Expand

msginfo( nserialhd("C"))

eso mismo ejecuto desd las dos aplicaciones.

gracias.
by cuatecatl82
Mon Jun 09, 2014 12:00 am
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Funciones a Bajo Nivel
Replies: 34
Views: 9676

Re: Ayuda Funciones a Bajo Nivel

Maestro Antonio:

Buenas tardes le agradesco que haya revisado mi mensaje, la funcion nSerialHd() que comenta ya la habia probado pero siempre me da valores diferentes y en negativo, he revisado este link que no puedo complilar me manda error:

http://forums.fivetechsupport.com/viewtopic ...
by Antonio Linares
Sun Jun 08, 2014 7:03 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Funciones a Bajo Nivel
Replies: 34
Views: 9676

Re: Ayuda Funciones a Bajo Nivel

Has probado a usar MsgInfo( nSerialHD() ) ?

viewtopic.php?p=159802#p159802
by Antonio Linares
Sat May 31, 2014 5:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: ID Machine
Replies: 4
Views: 1180

Re: ID Machine

Silvio,

nSerialHD( [drive] ) returns the harddisk serial number.

GETNETCARDID() and GETNETCARDINFO() return info about the network card which is unique for each computer.