Modifying binaryfiles

Page 1 of 1

1 Replies - 197 Views - Last Post: 18 March 2019 - 04:44 AM Rate Topic: -----

#1 ssagp   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 01-March 19

Modifying binaryfiles

Posted 18 March 2019 - 04:40 AM

i have to edit some data at a particular position in a binary file.How can I do this using c#.Knowing the position of data to be edited how to locate that bit position.Is there any method in c#.I could ope the file using..


                using (BinaryReader br = new BinaryReader(File.Open(Application.StartupPath + @"\FileNew18_03_19_15_23_33", FileMode.Open, FileAccess.ReadWrite)))


Is This A Good Question/Topic? 0
  • +

Replies To: Modifying binaryfiles

#2 andrewsw   User is offline

  • never lube your breaks
  • member icon

Reputation: 6795
  • View blog
  • Posts: 28,082
  • Joined: 12-December 12

Re: Modifying binaryfiles

Posted 18 March 2019 - 04:44 AM

You already have a recent, open, topic about writing to binary, please continue with it.
Closing this topic.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1