예제 #1
0
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public RegistryTimeZoneInformation(Win32Native.TimeZoneInformation tzi)
 {
     Bias = tzi.Bias;
     StandardDate = tzi.StandardDate;
     StandardBias = tzi.StandardBias;
     DaylightDate = tzi.DaylightDate;
     DaylightBias = tzi.DaylightBias;
 }