public static void SaveLastChannel(Channel channel) { IFormatter format = new BinaryFormatter(); format.Serialize( s_channelFile.Open(FileMode.OpenOrCreate), channel); }
/// <summary> /// Saves current playing channel to local storage. /// </summary> public void SaveCurrentChannel() { StorageManager.SaveLastChannel(CurrentChannel); }