public TimeZoneInformation(Win32Native.DynamicTimeZoneInformation dtzi) { Bias = dtzi.Bias; StandardName = dtzi.StandardName; StandardDate = dtzi.StandardDate; StandardBias = dtzi.StandardBias; DaylightName = dtzi.DaylightName; DaylightDate = dtzi.DaylightDate; DaylightBias = dtzi.DaylightBias; }
internal void PopulateFrom(Win32Native.WIN32_FIND_DATA findData) { fileAttributes = findData.dwFileAttributes; ftCreationTimeLow = findData.ftCreationTime_dwLowDateTime; ftCreationTimeHigh = findData.ftCreationTime_dwHighDateTime; ftLastAccessTimeLow = findData.ftLastAccessTime_dwLowDateTime; ftLastAccessTimeHigh = findData.ftLastAccessTime_dwHighDateTime; ftLastWriteTimeLow = findData.ftLastWriteTime_dwLowDateTime; ftLastWriteTimeHigh = findData.ftLastWriteTime_dwHighDateTime; fileSizeHigh = findData.nFileSizeHigh; fileSizeLow = findData.nFileSizeLow; }
public RegistryTimeZoneInformation(Win32Native.TimeZoneInformation tzi) { Bias = tzi.Bias; StandardDate = tzi.StandardDate; StandardBias = tzi.StandardBias; DaylightDate = tzi.DaylightDate; DaylightBias = tzi.DaylightBias; }