0
有沒有辦法處理/關閉CookieContainer?PowerShell - 處理System.Net.CookieContainer?
$cc = New-Object System.Net.CookieContainer
有沒有辦法處理/關閉CookieContainer?PowerShell - 處理System.Net.CookieContainer?
$cc = New-Object System.Net.CookieContainer
你可以這樣做:
$cc = $null
也許
remove-variable cc
可以做的伎倆。
編輯:
$cc -is [idisposable]
返回假的!
或'$ CC = $ null'? – JNK
@JNK - 是的,它可能是相同的。 –
oops,沒有看到評論。 – manojlds