문제

I want to edit a hex location (for eg.0x90F10-0x90F15) in a DLL file.

Is there any library or APIs by which I can do it in .NET?

도움이 되었습니까?

해결책

  1. Call File.OpenWrite to get a FileStream for your file

  2. Set Stream.Position to jump to the location you want to edit

  3. Call Stream.Write to 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...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top