59 references to ToFileTime
mscorlib (1)
system\datetimeoffset.cs (1)
663
return UtcDateTime.
ToFileTime
();
PresentationCore (1)
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (1)
1495
long longFileTime = dt.
ToFileTime
();
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (1)
235
long longFileTime = ((DateTime)obj).
ToFileTime
();
System (4)
security\system\security\cryptography\x509\x509certificate2collection.cs (3)
479
*((long*) &ft) = ((DateTime) findValue).
ToFileTime
();
487
*((long*) &ft) = ((DateTime) findValue).
ToFileTime
();
495
*((long*) &ft) = ((DateTime) findValue).
ToFileTime
();
security\system\security\cryptography\x509\x509chain.cs (1)
386
*((long*) &ft) = verificationTime.
ToFileTime
();
System.Activities (38)
System\Activities\Tracking\EtwTrackingParticipant.cs (38)
292
record.RecordNumber, record.EventTime.
ToFileTime
(), record.State,
300
record.RecordNumber, record.EventTime.
ToFileTime
(), record.State,
321
scheduledRecord.EventTime.
ToFileTime
(),
332
scheduledRecord.EventTime.
ToFileTime
(),
357
cancelRecord.EventTime.
ToFileTime
(),
368
cancelRecord.EventTime.
ToFileTime
(),
393
faultRecord.EventTime.
ToFileTime
(),
405
faultRecord.EventTime.
ToFileTime
(),
429
if (!EtwTrackingParticipantTrackRecords.BookmarkResumptionRecord(this.diagnosticTrace, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.
ToFileTime
(),
435
if (EtwTrackingParticipantTrackRecords.BookmarkResumptionRecord(this.diagnosticTrace, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.
ToFileTime
(),
458
record.RecordNumber, record.EventTime.
ToFileTime
(), record.Name,
465
record.RecordNumber, record.EventTime.
ToFileTime
(), record.Name,
482
record.RecordNumber, record.EventTime.
ToFileTime
(), record.Name,
489
record.RecordNumber, record.EventTime.
ToFileTime
(), record.Name,
507
record.RecordNumber, record.EventTime.
ToFileTime
(), record.Name,
514
record.RecordNumber, record.EventTime.
ToFileTime
(), record.Name,
573
unhandled.RecordNumber, unhandled.EventTime.
ToFileTime
(), unhandled.ActivityDefinitionId,
580
unhandled.RecordNumber, unhandled.EventTime.
ToFileTime
(), unhandled.ActivityDefinitionId,
599
unhandled.RecordNumber, unhandled.EventTime.
ToFileTime
(), unhandled.ActivityDefinitionId,
607
unhandled.RecordNumber, unhandled.EventTime.
ToFileTime
(), unhandled.ActivityDefinitionId,
632
aborted.EventTime.
ToFileTime
(), aborted.ActivityDefinitionId, aborted.Reason,
637
aborted.EventTime.
ToFileTime
(), aborted.ActivityDefinitionId, aborted.Reason,
654
aborted.EventTime.
ToFileTime
(), aborted.ActivityDefinitionId, aborted.Reason,
660
aborted.EventTime.
ToFileTime
(), aborted.ActivityDefinitionId, aborted.Reason,
683
suspended.EventTime.
ToFileTime
(), suspended.ActivityDefinitionId, suspended.Reason,
688
suspended.EventTime.
ToFileTime
(), suspended.ActivityDefinitionId, suspended.Reason,
705
suspended.EventTime.
ToFileTime
(), suspended.ActivityDefinitionId, suspended.Reason,
711
suspended.EventTime.
ToFileTime
(), suspended.ActivityDefinitionId, suspended.Reason,
734
terminated.EventTime.
ToFileTime
(), terminated.ActivityDefinitionId, terminated.Reason,
739
terminated.EventTime.
ToFileTime
(), terminated.ActivityDefinitionId, terminated.Reason,
756
terminated.EventTime.
ToFileTime
(), terminated.ActivityDefinitionId, terminated.Reason,
762
terminated.EventTime.
ToFileTime
(), terminated.ActivityDefinitionId, terminated.Reason,
784
record.EventTime.
ToFileTime
(), record.ActivityDefinitionId,
789
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceRecord(this.diagnosticTrace, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.
ToFileTime
(),
806
record.EventTime.
ToFileTime
(), record.ActivityDefinitionId,
812
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceRecordWithId(this.diagnosticTrace, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.
ToFileTime
(),
833
updatedRecord.RecordNumber, updatedRecord.EventTime.
ToFileTime
(), updatedRecord.ActivityDefinitionId, updatedRecord.State,
840
updatedRecord.RecordNumber, updatedRecord.EventTime.
ToFileTime
(), updatedRecord.ActivityDefinitionId, updatedRecord.State,
System.Data (1)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
828
Int64 tmp = value.
ToFileTime
();
System.IdentityModel (1)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
181
*((long*)&ft) = verificationTime.
ToFileTime
();
System.Management (2)
Instrumentation\WMICapabilities.cs (2)
97
wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.
ToFileTime
().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
115
wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.
ToFileTime
().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
System.Security (1)
system\security\cryptography\x509\x509utils.cs (1)
335
*((long*) &ft) = verificationTime.
ToFileTime
();
System.Web (5)
Hosting\ApplicationManager.cs (1)
1712
return id + "-" + domainCount.ToString(NumberFormatInfo.InvariantInfo) + "-" + DateTime.UtcNow.
ToFileTime
().ToString();
Security\FormsAuthentication.cs (2)
848
pDates[0] = ticket.IssueDate.
ToFileTime
();
849
pDates[1] = ticket.Expiration.
ToFileTime
();
StaticFileHandler.cs (2)
67
long lastModFileTime = lastModified.
ToFileTime
();
68
long nowFileTime = now.
ToFileTime
();
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4351
v.SetLong(Convert.ToDateTime(var, CultureInfo.InvariantCulture).
ToFileTime
());
WindowsBase (3)
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (1)
755
vals[0].union.hVal = ((DateTime)propVal).
ToFileTime
();
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (2)
722
Int64 timeSeed = DateTime.Now.
ToFileTime
();
994
Int64 timeSeed = DateTime.Now.
ToFileTime
();