【发布时间】:2015-08-20 10:30:43
【问题描述】:
您好,我想从我的所有应用程序池中获取框架版本(使用 IIS 6/7)。 这就是我获取应用程序池名称的方式:
Dim AppPools As DirectoryEntry = New DirectoryEntry("IIS://localhost/W3SVC/AppPools")Then
For Each nextEntry As DirectoryEntry In AppPools.Children
Dim nextAppPoolName As String = nextEntry.Name
Dim pipelineMode As Integer = CInt(nextApplicationPool.Properties(MANAGED_PIPELINE_MODE).Value)
Next
我可以从我的网站获取框架,但我不想要这个。 我该怎么办?
【问题讨论】:
标签: c# asp.net vb.net iis-7 iis-6