You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CDBuilder builder = new CDBuilder();
builder.Progress += (percentage) =>{ progressbar1.Value=percentage; };
Dictionary<string, string> resultList = new Dictionary<string, string>();
// Get main folder and put it into results.
getFileList(sourceDirectory, sourceDirectory).ToList().ForEach(file => resultList.Add(file.Key, file.Value));
// Finally, add all files collected to the ISO.
foreach (KeyValuePair<string, string> pair in resultList.ToList())
{
builder.AddFile(pair.Key, pair.Value);
}
builder.Build(targetFile);
The text was updated successfully, but these errors were encountered:
Hi,
Is there any way to insert progress event to show user CD-Build activity?
builder.Progress += (percentage) =>{ progressbar1.Value=percentage; };
The text was updated successfully, but these errors were encountered: