Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oven425 authored Oct 25, 2021
1 parent 2ce548b commit 6a255f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ Create definition
```csharp
public class InstalledApp
{
public string DisplayName { set; get; }
public string DisplayName { set; get; }
public string DisplayVersion { set; get; }
public int? EstimatedSize { set; get; }
}
```
Create Query
```csharp
var regt = new RegQuery<InstalledApp>()
.useSetting(x =>
{
x.Hive = RegistryHive.LocalMachine;
x.SubKey = @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall";
});
.useSetting(x =>
{
x.Hive = RegistryHive.LocalMachine;
x.SubKey = @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall";
});
```
Query data
```csharp
Expand Down

0 comments on commit 6a255f7

Please sign in to comment.