In this chapter, we looked at the ways in which the .NET Framework Class Library provides support for accessing key features of the Windows operating system. Using C#, we have been able to use the event log, gain elevated privileges, create and install a Windows service, and make use of the registry. These features are not directly required by C# or .NET, but they can be very useful in making a C# program better fit into the Windows ecosystem.
KeywordsEvent Source Visual Studio Window Registry Window Integration Window Operating System
Unable to display preview. Download preview PDF.