Make C# application Group Policy aware
- by Stefan Koell
I want to make my app GPO aware. I know that it's basically just reading from a specific registry path but I still have some questions:
How do I detect GPO refreshes? There's RegisterGPNotification here: http://msdn.microsoft.com/en-us/library/aa374404(VS.85).aspx but is there anything ready baked for C# out there or at Microsoft?
What's considered best practice: is the machine policy stronger than the user policy or is the user policy overruling the machine policy?
Anyone, who wants to share some experience in that area?
Thanks,
Stefan