![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Registro de windows remoto
Hola a todos.
Tengo una duda para lograr leer el registro de una máquina de manera remota. Hata el momento he checado la librería TRegistry, pero no he encontrado una manera de conseguir leer un equipo remoto. Principalmente lo que deseo realizar es obtener las claves de windows y uso la siguiente tarea: Código:
Código Delphi [-] function View_Win_Key: string; begin Reg := TRegistry.Create; try Reg.RootKey := HKEY_LOCAL_MACHINE; if Reg.OpenKeyReadOnly('\SOFTWARE\Microsoft\Windows NT\CurrentVersion') then begin if Reg.GetDataType('DigitalProductId') = rdBinary then begin PN := (Reg.ReadString('ProductName')); PID := (Reg.ReadString('ProductID')); binarySize := Reg.GetDataSize('DigitalProductId'); SetLength(HexBuf, binarySize); if binarySize > 0 then begin Reg.ReadBinaryData('DigitalProductId', HexBuf[0], binarySize); end; end; end; finally FreeAndNil(Reg); end; Result := ''; Result := DecodeProductKey(HexBuf); end; |
|
|
![]() |
||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Uso de registro de Windows | Alcolea | Windows | 3 | 05-06-2006 21:47:35 |
Edición del registro de windows | CelestronFan | Varios | 2 | 10-10-2005 02:51:16 |
Monitoreo del registro de windows | locojoan | API de Windows | 3 | 18-05-2004 08:03:31 |
registro de Windows | ebeltete | API de Windows | 1 | 17-06-2003 17:00:14 |
Registro de Windows | Periyo | Varios | 3 | 08-05-2003 17:51:51 |
![]() |
|