Retrieves the identifying application path for the current request.
This method takes no parameters.
A pointer to a string that contains the identifying path for the application pool.
The GetApplicationId method returns the unique identity path for the application that is processing the current request. For example, the identifying path for the application pool that is processing requests for the default Web site would be /LM/W3SVC/1/ROOT.
The following code example demonstrates how to use the GetApplicationId method to create an HTTP module that retrieves the identifying path for the current application and returns this information to a Web client.