How skip assembly name check when de-serializing .dat file?

  • Thread starter Thread starter Shan1986
  • Start date Start date
S

Shan1986

Guest
Hallo,

I have a dat file made from one application and trying to de-serialize using another one. During reading it checks for assembly name and if there is a mis-match it does not work. is there a way to skip and load the file.

Dim fsRead As New IO.FileStream(path, IO.FileMode.Open)
Dim bf As New BinaryFormatter()
col = CType(bf.Deserialize(fsRead), List(Of Equipments))
fsRead.Close()

Thanks

Continue reading...
 
Back
Top