Trying to get information from host header file in IIS

Deemar

Member
Joined
Aug 19, 2008
Messages
8
Programming Experience
Beginner
Is there a function or method for retrieving header values from IIS? I'm having a crazy time trying to find information in the internet about it. All I want to do is obtain the URL from IIS relative to a website called 'website one'. The website name will always be the same and I'll always need to retrieve the same URL value from it.
 
Searching has given me the impression that this is only available on .NET framework 3.5 with the Microsoft.Web.Administration Namespace, is this true? I'm running.NET framework 2.0 on IIS 6. Thanks.
 
Back
Top