Esempio n. 1
0
 private static extern int FileTimeToLocalFileTime(ref CIE7Passwords.FILETIME lpFileTime, ref CIE7Passwords.FILETIME lpLocalFileTime);
Esempio n. 2
0
 private static extern int FileTimeToSystemTime(ref CIE7Passwords.FILETIME lpFileTime, ref CIE7Passwords.SYSTEMTIME lpSystemTime);
Esempio n. 3
0
 // Token: 0x0600010C RID: 268 RVA: 0x00002AD8 File Offset: 0x00000CD8
 private DateTime FileTimeToDate(ref CIE7Passwords.FILETIME ftDateTime)
 {
     CIE7Passwords.FileTimeToLocalFileTime(ref ftDateTime, ref this.$STATIC$FileTimeToDate$201112110114C$lft);
     CIE7Passwords.FileTimeToSystemTime(ref this.$STATIC$FileTimeToDate$201112110114C$lft, ref this.$STATIC$FileTimeToDate$201112110114C$lst);
     return(DateTime.FromOADate(DateAndTime.DateSerial((int)this.$STATIC$FileTimeToDate$201112110114C$lst.wYear, (int)this.$STATIC$FileTimeToDate$201112110114C$lst.wMonth, (int)this.$STATIC$FileTimeToDate$201112110114C$lst.wDay).ToOADate() + DateAndTime.TimeSerial((int)this.$STATIC$FileTimeToDate$201112110114C$lst.wHour, (int)this.$STATIC$FileTimeToDate$201112110114C$lst.wMinute, (int)this.$STATIC$FileTimeToDate$201112110114C$lst.wSecond).ToOADate()));
 }