FileVersionInfo – getting the FileDescription in C#

Getting the file description in C# requires using the VerQueryInfo calls to load in the data from the file.  First you load in the culture information so you get the information in the right language and then you load the actual data into the buffer.  To do this you need to call a couple of external…

2

.net Binding for WPC Events

The WPC event system logs a series of events to the WPC crimson channel.  The channel contents is viewable inside the log viewer and it has a path of: Microsoft-Windows-ParentalControls/Operational.  The events are logged with a variety of different parameters, mostly you can see what they are from inside the event viewer itself.  Of the…

1

Using RatingSystem WMI in Parental Controls

Windows Parental Controls exposes a RatingSystem class that can be used to find all the rating systems on the system as well as the name and all the ratings used inside the system.  This is what is used inside Windows Parental Controls to show the pretty pages where you select the rating system you want…

1