API Reference
Class
PolFileParser
Parses Windows policy .pol files.
Inheritance
- Object
- PolFileParser
Methods
public static String ExportToReg(PolEntry entry) #Returns:
StringExports the specified entry to .reg file format.
Parameters
- entry ADPlayground.Gpo.GpoLocal.PolEntry
- Entry to export.
Returns
Text of the .reg file.
public static IEnumerable<PolEntry> Parse(String path) #Returns:
IEnumerable<PolEntry>Reads a .pol file and returns its entries. This now delegates to ComputerX.Lgpo.PolFile to keep a single implementation for parse/serialize across the solution.
Parameters
- path System.String