.NET or Win32 Equivalent of “netsh http add urlacl” command

后端 未结 2 1328
余生分开走
余生分开走 2020-12-28 16:09

There are several questions around how to allow a self-hosted WCF application to use BasicHttpBinding with HTTP.SYS without requiring administrative privileges. It boils do

相关标签:
2条回答
  • 2020-12-28 16:45

    I have exactly this problem in my bug list but it has currently low priority so I didn't deal with it yet. Anyway we found this tool (download the source) which uses mentioned function and it has all needed code to work (it is long way from having Win32 function and having working solution).

    0 讨论(0)
  • 2020-12-28 16:47

    The Win32 API to use is HttpSetServiceConfiguration.

    0 讨论(0)
提交回复
热议问题