Search found 95 matches: nserialhd

Return to advanced search

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 Marc Vanzegbroeck
Thu Mar 11, 2021 10:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 948

Re: nserialhd() vs serialnumber

nSerialHD() returns the number of the VOL command.

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

Re: nserialhd() vs serialnumber

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

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

Re: nserialhd() vs serialnumber

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: 948

Re: nserialhd() vs serialnumber

Code: Select all  Expand view
nSerialHD() = 410452486
NUMTOHEX( NSERIALHD() ) = 18770206
wmic diskdrive get serialnumber = S3TRNA0M316529
 
by Marc Vanzegbroeck
Thu Mar 11, 2021 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 948

Re: nserialhd() vs serialnumber

Can I see a sample of such serial?

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

Re: nserialhd() vs serialnumber

Unfortunately give this also a number.

Enrico Maria Giordano wrote:Try

Code: Select all  Expand view
? NUMTOHEX( NSERIALHD() )


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

Re: nserialhd() vs serialnumber

Try

Code: Select all  Expand view
? 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: 948

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 Marc Vanzegbroeck
Thu Mar 11, 2021 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 948

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 ...
by noe aburto
Wed May 13, 2015 10:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Protejer EXE contra copias
Replies: 7
Views: 1767

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

Intenta asi:

Code: Select all  Expand view

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


Saludos.
by karinha
Mon Aug 11, 2014 12:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: mismo HD diferentes nserialhd("C")... porque?
Replies: 1
Views: 435

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 view
msginfo( nserialhd("C"))

eso mismo ejecuto desd las dos aplicaciones.

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

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.php?f=3&t=13415&hilit=nSerialHD ...
by cuatecatl82
Mon Jun 09, 2014 12:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Funciones a Bajo Nivel
Replies: 34
Views: 7969

Re: Ayuda Funciones a Bajo Nivel

Has probado a usar MsgInfo( nSerialHD() ) ?

viewtopic.php?p=159802#p159802
by Antonio Linares
Sun Jun 08, 2014 7:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Funciones a Bajo Nivel
Replies: 34
Views: 7969

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.
by Antonio Linares
Sat May 31, 2014 5:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ID Machine
Replies: 4
Views: 1076
Next

Return to advanced search