Click here to Skip to main content
16,020,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,
Can anyone know about how to do the file operation on the .DAT file using windows application. I am creating an application where i can store the some user information into to that DAT file. And also i am retrieving the same information from that .DAT file.
My main aim is to secure the information from user so that he can not read the data directly.
can anyone having information related with the same.

Thanks
Posted
Comments
[no name] 1-Jun-14 21:02pm    
If you aim is to secure the information then look up encryption.
GinCanhViet 1-Jun-14 21:04pm    
i will try, thank a lot!
Sergey Alexandrovich Kryukov 1-Jun-14 22:00pm    
*.DAT is not anything certain. It could be anything at all. Use System.IO and System.Cryptography.
—SA

1 solution

You can use encrypting and decryption[^] for securely store your information. you can use database[^] or normal file[^] to store data ones you encrypt.
check System.Security.Cryptography[^], it provides cryptographic services, including secure encoding and decoding of data, as well as many other operations, such as hashing, random number generation, and message authentication. For more information
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900