J
JZ
Hi,
I'm using a class and binary formatter to store data in files.
For example..
Dim FPs As New StuctureDataFile()
Dim FileStream As Stream = File.Open(pfile, FileMode.Open)
Dim FileFormatter As New BinaryFormatter()
FPs = DirectCast(FileFormatter.Deserialize(FileStream), StuctureDataFile)
FileStream.Close()
How secure is the the data file, is it easy for someone to re-create my
class by analysis the datafile?
I want to stop people creating their own data files.
Also, is there anyway I can provide extra security? For example, encryption?
Thanks in advance!!
I'm using a class and binary formatter to store data in files.
For example..
Dim FPs As New StuctureDataFile()
Dim FileStream As Stream = File.Open(pfile, FileMode.Open)
Dim FileFormatter As New BinaryFormatter()
FPs = DirectCast(FileFormatter.Deserialize(FileStream), StuctureDataFile)
FileStream.Close()
How secure is the the data file, is it easy for someone to re-create my
class by analysis the datafile?
I want to stop people creating their own data files.
Also, is there anyway I can provide extra security? For example, encryption?
Thanks in advance!!
