Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法处理/关闭 CookieContainer?
$cc = New-Object System.Net.CookieContainer
也许
remove-variable cc
可以做到这一点。
编辑:
$cc -is [idisposable]
返回假!
您可以执行以下操作:
$cc = $null