Click or drag to resize
WaveReadWriterWriteInfoTag Method
Writes INFO metadata(similar mp3 tags) into Wave stream.

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public void WriteInfoTag(
	Dictionary<WaveInfo, string> tag
)

Parameters

tag
Type: System.Collections.GenericDictionaryWaveInfo, String

[Missing <param name="tag"/> documentation for "M:Alvas.Audio.WaveReadWriter.WriteInfoTag(System.Collections.Generic.Dictionary{Alvas.Audio.WaveInfo,System.String})"]

Examples
This example shows simple using of WriteInfoTag method.
 //removes INFO tags from audio stream 
WaveReadWriter wrw1 = new WaveReadWriter(File.Open("in1.wav", FileMode.Open, FileAccess.ReadWrite));
wrw1.WriteInfoTag(null);
wrw1.Close();

 //writes INFO tags into audio stream 
WaveReadWriter wrw2 = new WaveReadWriter(File.Open("in2.wav", FileMode.Open, FileAccess.ReadWrite));
var tag = new Dictionary<WaveInfo, string>();
tag[WaveInfo.Comments] = "Comments...";
wrw2.WriteInfoTag(tag);
wrw2.Close();
See Also