NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Publishing Interfaces

The Publishing Service provides the following 6 interfaces to enumerate processes and application domains on a machine: ICorPublish, ICorPublishProcess, ICorPublishAppDomain, ICorPublishEnum, ICorPublishProcessEnum, and ICorPublishAppDomainEnum. ICorPublish is used to get an enumerator, ICorPublishProcessEnum, that can be used to get the ICorPublishProcess objects that describe the processes on a machine. The methods of the ICorPublishProcess interface can be used to check if the process is running managed code, get the process ID, get the process name, and get an enumerator, ICorPublishAppDomainEnum. ICorPublishAppDomainEnum can be used to get the ICorPublishAppDomain objects that describe the application domains in the process. The methods of ICorPublishAppDomain interface can be used to get the application domain ID and to get the friendly name of the application domain. ICorPublishEnum is an abstract enumerator.

The following sections describe the interfaces in detail. The interfaces are described in alphabetical order, and are found in CorPub.idl.