Fra*_*986 4 c# self-hosting netsh nancy
有没有办法删除特定端口的每个 urlacl 保留。
我的意思是这样的事情是可能的(客户星座):
netsh http add urlacl url=http://localhost:55521/ user="everyone"
netsh http add urlacl url=http://+:55521/ user="everyone"
Run Code Online (Sandbox Code Playgroud)
现在我想删除55521端口的所有保留,这可以是任何ip星座!
顺便说一句,我在 ac# 应用程序中使用 nancy 自主机执行此操作。
小智 6
显示网址:
netsh http show urlacl
Run Code Online (Sandbox Code Playgroud)
删除网址:
netsh http delete urlacl url=http://localhost:55521/
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3876 次 |
| 最近记录: |