C#
C#
Transition from ZipEntry.GetDt to ZipEntry.FileDateTimeStr
Provides instructions for replacing deprecated GetDt method calls with FileDateTimeStr.Chilkat C# Downloads
Chilkat.ZipEntry entry = new Chilkat.ZipEntry();
// ...
// ...
// ------------------------------------------------------------------------
// The GetDt method is deprecated:
Chilkat.CkDateTime dtObj = entry.GetDt();
if (entry.LastMethodSuccess == false) {
Debug.WriteLine(entry.LastErrorText);
return;
}
// ...
// ...
// ------------------------------------------------------------------------
// Do the equivalent using FileDateTimeStr.
Chilkat.CkDateTime dt = new Chilkat.CkDateTime();
dt.SetFromRfc822(entry.FileDateTimeStr);