...
Code Block |
---|
$stream = new-object io.filestream "X:\downloads\jiraclient-2_3_6.exe",Open; try { -join ([security.cryptography.MD5]::Create().ComputeHash($stream) |% {$_.ToString("x2")}) } finally { if($stream) { $stream.close() } } |
...
Code Block |
---|
$stream = new-object io.filestream "X:\downloads\jiraclient-2_3_6.exe",Open; try { -join ([security.cryptography.MD5]::Create().ComputeHash($stream) |% {$_.ToString("x2")}) } finally { if($stream) { $stream.close() } } |