Hex Editing in .NET
I want to edit a hex location (for eg.0x90F10-0x90F15) in a DLL fil开发者_如何学JAVAe.
Is there any library or APIs by which I can do it in .NET?
Call
File.OpenWriteto get aFileStreamfor your fileSet
Stream.Positionto jump to the location you want to editCall
Stream.Writeto overwrite bytes in the file.
Since you don't provide much detail or source only a general pointer:
Try System.IO.File - you can read and write any byte/byte array...
加载中,请稍侯......
精彩评论