Steve
Thu Mar 29 11:58:06 CDT 2007
You would use WMI or ADSI. Here is a good place to start.
http://www.microsoft.com/technet/scriptcenter/scripts/iis/iis6/default.mspx?mfr=true
--
Thank you,
Steve Schofield
Windows Server MVP - IIS
ASPInsider Member - MCP
http://www.orcsweb.com/
Managed Complex Hosting
#1 in Service and Support
"Josiah" <Josiah@discussions.microsoft.com> wrote in message
news:78DBB5A0-1E0C-4006-8932-C3513F172A40@microsoft.com...
> Steve,
>
> I should have stated that I was trying to get the info programmatically. I
> looked over some of the WMI class. I wanted to avoid having to make a
> remote
> call to aspnet_regiis.
>
> It appears an adhoc way is to look at the aspnet client folder within each
> website to determine the .NET version used for a site.
>
> Thank you for your time
> Josiah
>
>
> "Steve Schofield" wrote:
>
>> Have you tried aspnet_regiis -lk.
>>
>> --
>>
>> Steve Schofield
>> Windows Server MVP - IIS
>> ASPInsider Member - MCP
>>
>> "Josiah" <Josiah@discussions.microsoft.com> wrote in message
>> news:F7D807A7-7975-4B16-B467-15DCD4751DD4@microsoft.com...
>> > How can i find which version of .NET my application is using. Assuming
>> > i
>> > have
>> > several .NET versions installed.
>> >
>> > I know how to force or change the .NET version of my app.
>>
>>