Exemplo n.º 1
0
 private static extern int FileTimeToSystemTime(ref CIEPasswords.FILETIME lpFileTime, ref CIEPasswords.SYSTEMTIME lpSystemTime);
Exemplo n.º 2
0
 // Token: 0x0600011F RID: 287 RVA: 0x00003824 File Offset: 0x00001A24
 private DateTime FileTimeToDate(ref CIEPasswords.FILETIME ftDateTime)
 {
     CIEPasswords.FileTimeToLocalFileTime(ref ftDateTime, ref this.$STATIC$FileTimeToDate$201112110117C$lft);
     CIEPasswords.FileTimeToSystemTime(ref this.$STATIC$FileTimeToDate$201112110117C$lft, ref this.$STATIC$FileTimeToDate$201112110117C$lst);
     return(DateTime.FromOADate(DateAndTime.DateSerial((int)this.$STATIC$FileTimeToDate$201112110117C$lst.wYear, (int)this.$STATIC$FileTimeToDate$201112110117C$lst.wMonth, (int)this.$STATIC$FileTimeToDate$201112110117C$lst.wDay).ToOADate() + DateAndTime.TimeSerial((int)this.$STATIC$FileTimeToDate$201112110117C$lst.wHour, (int)this.$STATIC$FileTimeToDate$201112110117C$lst.wMinute, (int)this.$STATIC$FileTimeToDate$201112110117C$lst.wSecond).ToOADate()));
 }
Exemplo n.º 3
0
 private static extern int FileTimeToLocalFileTime(ref CIEPasswords.FILETIME lpFileTime, ref CIEPasswords.FILETIME lpLocalFileTime);