Appendix A. Three Approaches to COM Interop with ADSI

Throughout the book, we have mentioned that it is useful and occasionally even necessary to do some kind of COM interop with ADSI when using System.DirectoryServices (SDS). For example, it is useful for harnessing the IADsNameTranslate interface and it is necessary for setting attributes with the LargeInteger syntax (2.5.5.16, see Chapter 6).

There are actually three different approaches we can use for COM interop:

Категории