Help with API's

Help with API's

Postby ARCC » Mon Apr 14, 2008 9:03 pm

*** Translated by a Translator Web ***

Good day for all...

Friends there is form to obtain by means of API the serial of the BIOS and CPU, the serial of makes of the hard disk or rigido, the MAC address of the network card, which I look for is the way to protect the programs that we do, but simultaneously also I look for compatibility with the operating system Windows from 95 to Vista.

Note: That I can do it with WMI but does not work with Win9x nor WinME to where I have read.
Saludos,

Antonio Castro
Maracaibo - Venezuela
ant_cas@yahoo.com
ARCC
 
Posts: 86
Joined: Sat Jun 24, 2006 4:27 pm
Location: Maracaibo - Zulia - Venezuela

Postby Antonio Linares » Mon Apr 14, 2008 9:23 pm

Antonio,

MsgInfo( "HardDisk serial number: " + Str( nSerialHD() ) )

MsgInfo( GetNetCardID() )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby ARCC » Mon Apr 14, 2008 10:16 pm

SET SPANISH

Buen día para todos....

Antonio Linares wrote:Antonio,

MsgInfo( "HardDisk serial number: " + Str( nSerialHD() ) )

MsgInfo( GetNetCardID() )


Buscando en el foro conseguí el GetNetCardID(), el nSerialHD() devuelve el serial lógico del disco, pero cuando se formatea el disco se pierde por eso necesito el serial de fabrica del disco ya que ese no cambia nunca. Mira este link http://www.azsdk.com/hardwareid.html y veras lo que quiero hacer.

Pregunto, el código fuente de GetNetCardID() viene incluido con FWH?, sino viene que tan factible es que lo proporciones. Se puede usar GetNetCardID() de forma remota, o sea obtener el MAC de otro PC por la red?.

De todas maneras muchas gracias por tu ayuda, seguiré buscando la manera de hacerlo hasta conseguirlo.
Saludos,

Antonio Castro
Maracaibo - Venezuela
ant_cas@yahoo.com
ARCC
 
Posts: 86
Joined: Sat Jun 24, 2006 4:27 pm
Location: Maracaibo - Zulia - Venezuela

Postby Antonio Linares » Mon Apr 14, 2008 10:40 pm

Antonio,

Please review this topic too:
http://fivetechsoft.com/forums/viewtopic.php?t=8805
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests