Home > Net >  C # openSubKey path is empty
C # openSubKey path is empty

Time:10-10

Full path to the HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Microsoft SQL Server \ MSSQL11 MSSQLSERVER \ MSSQLSERVER \ SuperSocketNetLib \ Tcp

RegistryKey software1=Key. OpenSubKey (@ SOFTWARE \ "Microsoft", true);
RegistryKey software2=software1. OpenSubKey (" Microsoft SQL Server ", true);
RegistryKey software3=software2. OpenSubKey (" MSSQL11 MSSQLSERVER ", true);
In front of the two can get value, a third for null values is why
  •  Tags:  
  • C#
  • Related