IIS 7.5 supports IIS configuration change auditing by changing setting from Event Viewer/Applications and Services Logs/Microsoft/Windows/Operational/Enable
Log.
I tried it through Event Viewer and it worked great.
But what I need is not to do that manually using Event Viewer.
Instead, I need to achieve that programmatically in C# through API - an API for programming the above Event Viewer property (not IIS property) so that I can enable the logging .
Is that possible?
If so, how?
Any help is highly appreciated.