The neural network is saved using .NET serialization (binary formatter is used).
public void Save(Stream stream) { IFormatter formatter = new BinaryFormatter(); formatter.Serialize(stream, this); }