Hi !
I tried this function from sources\winapi\netapi32.prg . But at home my PC isn't connected to any LAN and then this function return "0" . It's normal ? What it's needful for this function ?
With best regards !
NetSerialNumber function
NetSerialNumber function
Rimantas U.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Rimantas,
Please make this change in source\winapi\netapi32.prg:
Please make this change in source\winapi\netapi32.prg:
Code: Select all
oNcb:command = 51 // NCBASTAT
#ifdef __CLIPPER__
oNcb:buffer = GETVDMP32( StrPtr( oAdapterStatus:cBuffer ) )
#else
oNcb:buffer = StrPtr( oAdapterStatus:cBuffer )
#endif
oNcb:length = oAdapterStatus:SizeOf()