Foros del Web » Programación para mayores de 30 ;) » .NET »

leer valo REG_MULTI_SZ del registry

Estas en el tema de leer valo REG_MULTI_SZ del registry en el foro de .NET en Foros del Web. leer valor REG_MULTI_SZ como leerlo con la siguiente estructura de querys /* declaro para el registro*/ RegistryKey hklm2 = Registry.LocalMachine; RegistryKey hkcu = Registry.CurrentUser; StringBuilder ...
  #1 (permalink)  
Antiguo 13/03/2008, 13:19
Avatar de subero  
Fecha de Ingreso: marzo-2007
Mensajes: 64
Antigüedad: 17 años, 1 mes
Puntos: 0
leer valo REG_MULTI_SZ del registry

leer valor REG_MULTI_SZ como leerlo con la siguiente estructura de querys
/* declaro para el registro*/
RegistryKey hklm2 = Registry.LocalMachine;
RegistryKey hkcu = Registry.CurrentUser;

StringBuilder imprimir2 = new StringBuilder();//para unir cadenas

string imprimir; string para el return


hklm2 = hklm2.OpenSubKey("SYSTEM\\CurrentControlSet\\Contr ol\\Session Manager\\Subsystems");
imprimir = hklm2.GetValueNames("Optional").ToString();
imprimir2.Append("HKLM\\SYSTEM\\CurrentControlSet\ \Control\\Lsa: " + imprimir.ToString()+ Environment.NewLine);

el valor OPTIONAL es del tipo REG_MULTI_SZ, en esta parte como leerlo
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 15:08.