AdmxParser 0.7.1
dotnet add package AdmxParser --version 0.7.1
NuGet\Install-Package AdmxParser -Version 0.7.1
<PackageReference Include="AdmxParser" Version="0.7.1" />
paket add AdmxParser --version 0.7.1
#r "nuget: AdmxParser, 0.7.1"
// Install AdmxParser as a Cake Addin #addin nuget:?package=AdmxParser&version=0.7.1 // Install AdmxParser as a Cake Tool #tool nuget:?package=AdmxParser&version=0.7.1
AdmxParser
.NET-based ADMX/ADML parser library
Breaking Changes
From 0.6.7 to 0.7
- Removed
GetMangledMemberNameFromDisplayName
extension methods due to lack of usage.
From 0.6.2 to 0.6.3
- I understand that changing policy settings is the last step in the mechanism, changing the registry. Since the framework does not handle looking up or modifying policies directly, and instead has to make it use the IGroupPolicyObject2 interface, I removed the associated functionality and test cases.
- Removed other unused extension methods.
From 0.5 to 0.6
All types of models and contract interfaces has been removed. Instead, the library now uses auto-generated XML schema classes to represent ADMX/ADML files for accuracy and integrity.
Minimum Requirements
- Requires a platform with .NET Standard 2.0 or later, and Windows Vista+, Windows Server 2008+
- This library does not support ADM files.
- Supported .NET Version: .NET Core 2.0+, .NET 5+, .NET Framework 4.6.1+, Mono 5.4+, UWP 10.0.16299+, Unity 2018.1+
How to use
Loading PolicyDefinitions XML schema
Explore the policy model with C# classes that replicate the ADMX/ADML XML schema prototype.
using AdmxParser;
...
var instance = AdmxDirectory.GetSystemPolicyDefinitions();
await instance.LoadAsync(true);
var admxCollection = instance.LoadedAdmxFiles;
// Use admxCollection variable to investigate system policies.
Parsing ADMX/ADML files
You can explore the changes that will actually be made to your POL file in a preview form.
using AdmxParser;
...
var instance = AdmxDirectory.GetSystemPolicyDefinitions();
await instance.LoadAsync(true);
var models = admxDirectory.ParseModels();
foreach (var eachPolicy in models)
{
// ...
}
XML Schema Notes
- The XML schema used in this library is based on the schema defined in the ADMX File Schema.
- You can regenerate the XML schema classes by running the
xsd.exe
tool with the parametersPolicyDefinitionFiles.xsd /c /order /eld /edb /l:CS /namespace:AdmxParser.Serialization /nologo
.
License
This library follows Apache-2.0 license. See LICENSE file for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AdmxParser:
Package | Downloads |
---|---|
AdmxPolicyManager
Windows Policy Setting and Lookup Framework for use with the AdmxParser package |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.7.1 | 102 | 7/8/2024 |
0.7.0 | 209 | 7/4/2024 |
0.6.7 | 163 | 6/24/2024 |
0.6.6 | 84 | 6/23/2024 |
0.6.5 | 92 | 6/23/2024 |
0.6.4 | 85 | 6/23/2024 |
0.6.3 | 92 | 6/23/2024 |
0.6.2 | 86 | 6/10/2024 |
0.6.1 | 75 | 6/10/2024 |
0.6.0 | 80 | 6/10/2024 |
0.5.5 | 63 | 6/3/2024 |
0.5.4 | 76 | 5/30/2024 |
0.5.3 | 80 | 5/29/2024 |
0.5.2 | 77 | 5/29/2024 |
0.5.1 | 82 | 5/26/2024 |
0.5.0 | 77 | 5/24/2024 |