2024-04-18から1日間の記事一覧
MemoryStreamクラスとStreamWriterクラスを使いストリームを作成し、Get-FileHashコマンドレットを使う。 PS > $ss = [System.IO.MemoryStream]::new() PS > $sw = [System.IO.StreamWriter]::new($ss) PS > $sw.write("鈴木みのり") PS > $sw.Flush() PS > …
MemoryStreamクラスとStreamWriterクラスを使いストリームを作成し、Get-FileHashコマンドレットを使う。 PS > $ss = [System.IO.MemoryStream]::new() PS > $sw = [System.IO.StreamWriter]::new($ss) PS > $sw.write("鈴木みのり") PS > $sw.Flush() PS > …