Represents the processing context for global-level operations, and enables retrieving configuration files, extended interfaces, metadata, tokens, and the worker process framework.
Syntax
class IHttpServer2 : public IHttpServer
Methods
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. |
Derived Classes
This interface contains no derived classes.
Inheritance Hierarchy
IHttpServer2
Requirements
| Type | Description |
|---|---|
| Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on Windows Server 2008 - 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 Technical Preview |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
| Header | Httpserv.h |