I’ve tried several ways to open an OTB file (otb files is like dat files), but I can’t find out how..
Here’s what I tried latest:
http://pastebin.com/vXFN1pmV
Question is: How do you open and read a .dat file in C#? It probably has ASCII characters.
Thanks
If you want to read the whole file into a string, you can use
File.ReadAllText(). If you want to read a binary file into abyte[], useFile.ReadAllBytes().