|
On the latest work at iisproxy project
I want to read some metabase properties from IIS ISAPI filter - properties LogFileDirectory and RootPath
of the specified instance ID. This sample c++ function contains the ADsGetObject
+ QueryInterface calls and Get property calls for IIsWebServer and IIsWebDirectory
object interfaces.
See alsofor 'Read LogFileDirectory and Path properties using C++/ADSI' article Get Instance ID from IIS Filter context (SF_REQ_GET_PROPERTY - SF_PROPERTY_INSTANCE_NUM_ID)Short sample to get an IIS property using ServerSupportFunctionCopyright and use this code
The source code on this page and other samples at https://www.motobit.com/tips/
are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
or
2. Link this sample from you page.
Do you like it? Rate me on LinkedIn |
© 1996 - 2019 Antonin Foller, Motobit Software | About, Contacts