API Reference
Class
AppLockerPolicyReader
Reads AppLocker policy from a GPO SYSVOL path (Policy.xml) and returns a typed summary.
Inheritance
- Object
- AppLockerPolicyReader
Methods
BuildConditionSummary(System.Xml.Linq.XElement arg1) #Builds a short human‑readable condition description for an AppLocker rule.
Parameters
- arg1 System.Xml.Linq.XElement
public static AppLockerPolicyInfo ReadFromSysvol(String gpoSysvolPath, String domainName, Guid gpoId) #Returns:
AppLockerPolicyInfoAttempts to read AppLocker policy for a GPO from its SYSVOL folder.
Parameters
- gpoSysvolPath System.String
- GPO root path in SYSVOL.
- domainName System.String
- Owning DNS domain.
- gpoId System.Guid
- GPO identifier.
Returns
Typed AppLocker policy or null when not present.