/// <summary>
 /// Converts a CHS (Cylinder,Head,Sector) address to a LBA (Logical Block Address).
 /// </summary>
 /// <param name="chsAddress">The CHS address to convert</param>
 /// <returns>The Logical Block Address (in sectors)</returns>
 public long ToLogicalBlockAddress(ChsAddress chsAddress)
 {
     return ToLogicalBlockAddress(chsAddress.Cylinder, chsAddress.Head, chsAddress.Sector);
 }
Beispiel #2
0
 /// <summary>
 /// Converts a CHS (Cylinder,Head,Sector) address to a LBA (Logical Block Address).
 /// </summary>
 /// <param name="chsAddress">The CHS address to convert</param>
 /// <returns>The Logical Block Address (in sectors)</returns>
 public long ToLogicalBlockAddress(ChsAddress chsAddress)
 {
     return(ToLogicalBlockAddress(chsAddress.Cylinder, chsAddress.Head, chsAddress.Sector));
 }