Can i put binary in stdin? C#

前端 未结 2 865
难免孤独
难免孤独 2020-12-19 02:05

Related to this question encrypt binary with 7z without filenames?

In C# how can i put binary in STDin? i was hoping the below would work but it doesnt. And it makes

2条回答
  •  春和景丽
    2020-12-19 02:36

    Write directly to the base stream:

    
    new BinaryWriter(p.StandardInput.BaseStream)
    

提交回复
热议问题