| title | IHttpServer2 Interface |
|---|---|
| description | Learn how the IHttpServer2 interface represents the processing context for global-level operations. |
| ms.date | 10/07/2016 |
| ms.assetid | 73ed3784-2b56-46f5-9b73-c2f47600f298 |
Represents the processing context for global-level operations, and enables retrieving configuration files, extended interfaces, metadata, tokens, and the worker process framework.
class IHttpServer2 : public IHttpServer The following table lists the methods exposed by the IHttpServer2 interface.
| Name | Description |
|---|---|
| GetAppPoolConfigFile | Retrieves the path of the application pool’s configuration file. |
| GetExtendedInterface | Retrieves the correct down-casted pointer based on version GUID (globally unique identifier) values. |
| GetMetadata | Retrieves metadata about a website given its name and URL. |
| GetToken | Retrieves an authentication token given a user name, password, and login method. |
| GetWorkerProcessFramework | Retrieves the interface of the worker process framework for the server. |
This interface contains no derived classes.
IHttpServer2
| Type | Description |
|---|---|
| Client | - IIS 7.0 on [!INCLUDEwinvista] - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on [!INCLUDEwinsrv2008] - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100] |
| Header | Httpserv.h |