BinaryFormatter - Is it possible to deserialize known class without the assembly?
问题 I am currently trying to interoperate with a program that sends data over the network after first formatting it with C#'s BinaryFormatter. It's a dumb idea, and I hate it, but I have to interoperate with it. I know what the type looks like, I know it's exact layout. But I can't add a reference to that specific assembly in my program for various reasons. Given how tightly coupled BinaryFormatter is to the specific type/version, I can't seem to find a way to get it to deserialize despite