ICreateArchive OpenCreateZAR
現在開いているレンズ データ システムの ZOS アーカイブを作成します。
ICreateArchive cZAR = Tools.OpenCreateZAR();
if (cZAR != null)
{
cZAR.UseDataCompression = true;
//
// if the Optical System has an archive associated with it, this is it.
// if not, then a default name is constructed.
//
string zarFilename = cZAR.GetArchiveFileName();
if (cZAR.SetArchiveFileName(fullFileName: "C:\\Temp\\testZARCreation"))
{
//
// the Archive File Name was successfully set.
//
}
if (!cZAR.Run())
{
//
// we were unable to Run the tool.
//
}
cZAR.Close();
}
次へ :