why i can't use HttpListener in my Windows 10 computer? (System.PlatformNotSupportedException)

前端 未结 1 1016
庸人自扰
庸人自扰 2021-01-22 18:48

WCF : PlatformNotSupportedException when running Server Projects it doesn\'t work for me...

Console.WriteLine(System.Net.HttpListener.IsSupported); // false
         


        
1条回答
  •  情话喂你
    2021-01-22 19:44

    http://www.mycsharp.de/wbb2/thread.php?threadid=92534

    It helped me!

    because my HTTP start option is 4.

    i fixed it.

    sc config http start=demand
    sc start http
    

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