コード例 #1
0
 /// <summary>
 /// Writes an end of data mark at the current position
 /// </summary>
 public void WriteEndOfDataMark()
 {
     CheckError(TapeDriveFunctions.EraseTape(tapeDrive.Handle, 0, false));
 }
コード例 #2
0
 /// <summary>
 /// Erases the tape from the current position to the end of partition.
 /// </summary>
 public void Erase()
 {
     CheckError(TapeDriveFunctions.EraseTape(tapeDrive.Handle, 1, false));
 }