I need to identify the schema master for a forest using C#. I know there are some available namespaces using System.DirectoryServices and System.DirectoryServices.ActiveDirectory but I can't seem to find any sample code that can return this information.
I suppose I could trudge through the configuration partition but I would think there is a namespace that could be used to go directly to the source...