[Release][C#] TQ dat files handler

03/10/2013 02:41 urgabel#1
I wrote my own classes to handle TQ .dat files, and I will share here the code. I hope it would help somebody.

The files contains examples of usage, but feel free to ask anything.

Full source code in the attachments.

EDIT:
- Updated TQDatCryption class (new version 1.1) to allow seeking.
- Added new class SeekableCryptoStream (fully tested).
Both with full source code in the attachments.
03/10/2013 06:32 Super Aids#2
Empty classes? Seriously?
03/10/2013 08:16 donn#3
Quote:
Originally Posted by Super Aids View Post
Empty classes? Seriously?
Well, he stated
Quote:
Originally Posted by urgabel View Post

Full code in the attachment.
03/10/2013 08:51 urgabel#4
Quote:
Originally Posted by Super Aids View Post
Empty classes? Seriously?
As donn said, I wrote the attachment contains full code.
I don't know if it isn't correct, but I want to know how many people could be interested, so I can use the download counter as some way of trace it.
If that is a problem, I will edit my post to include full code.

Now I'm developing my own class to extend Stream in a seekable mode, so I will use it instead of CryptoStream, in order to be able to read/write data with random access directly to disk without loading the entire files in memory. If I notice people interested, I will release the code too (finished, just need to test and document it).

Quote:
Originally Posted by donn View Post
Well, he stated
Thanks for pointing it. Oh, and I'm a woman. ;)
03/11/2013 18:18 donn#5
Quote:
Originally Posted by urgabel View Post
Thanks for pointing it. Oh, and I'm a woman. ;)
Well, I'm sorry then :). I had no way to know.
Code looks clean and I'm sure I'll find some use for it.
03/12/2013 08:24 urgabel#6
Quote:
Originally Posted by donn View Post
Code looks clean and I'm sure I'll find some use for it.
You are so nice, I'm a novice programmer.
Just in case anybody cares, I edited my first post to add new class SeekableCryptoStream and updated version of TQDatCryption with seeking support.