QSoft.Registry 1.0.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package QSoft.Registry --version 1.0.0.6
NuGet\Install-Package QSoft.Registry -Version 1.0.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QSoft.Registry" Version="1.0.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QSoft.Registry --version 1.0.0.6
#r "nuget: QSoft.Registry, 1.0.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install QSoft.Registry as a Cake Addin
#addin nuget:?package=QSoft.Registry&version=1.0.0.6

// Install QSoft.Registry as a Cake Tool
#tool nuget:?package=QSoft.Registry&version=1.0.0.6

Welcome to the QSoft.Registry wiki!

Introduction

  • Support Queryable function
  • Auto control Registry resource no control resource create and dispose
  • Support Update and Remove RegistryKey

Quick Start

//define want to get data
public class InstalledApp
{
    public string DisplayName { set; get; }
    [RegPropertyName(Name = "DisplayVersion")]
    public Version Version { set; get; }
    public int? EstimatedSize { set; get; }
}

//create registrykey query
var regt = new RegQuery<InstalledApp>()
              .useSetting(x =>
                  {
                      x.Hive = RegistryHive.LocalMachine;
                      x.SubKey = @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall";
                      x.View = RegistryView.Registry64;
                  });

//get dispalyname contains Windows
var where = regt.Where(x => x.DisplayName.Contains("Windows"));

//filter version
var where_version = regt.Where(x => x.Version > new Version(1, 1, 1, 1));

More

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.7 406 9/30/2022
1.0.0.6 439 2/21/2022
1.0.0.5 263 12/20/2021
1.0.0.4 277 12/9/2021
1.0.0.3 835 12/3/2021
1.0.0.2 312 10/25/2021
1.0.0.1 330 2/18/2021
1.0.0 340 1/14/2021

1. Fix update function update all data in class case
2. Fix Reguqrey can generate independence query
3. Add Insert function
4. Add RegSubKeyName attribute
5. Fix parse Expression issue
6. Fix data type translate issue