236 references to Now
mscorlib (5)
system\datetime.cs (1)
1264return DateTime.Now.Date;
system\datetimeoffset.cs (1)
171return new DateTimeOffset(DateTime.Now);
system\globalization\datetimeformat.cs (1)
726offset = TimeZoneInfo.GetLocalUtcOffset(DateTime.Now, TimeZoneInfoOptions.NoThrowOnInvalidTime);
system\globalization\datetimeparse.cs (2)
2722resultTicks += tz.GetUtcOffset(bTimeOnly ? DateTime.Now: result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime).Ticks; 3357return DateTime.Now;
PresentationCore (5)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (4)
1084TimeSpan delta = DateTime.Now - _lastWakeOrUnlockEvent; 1349_lastWakeOrUnlockEvent = DateTime.Now; 1387_lastWakeOrUnlockEvent = DateTime.Now; 1430_lastWakeOrUnlockEvent = DateTime.Now;
Core\CSharp\System\Windows\Media\Animation\TimeManager.cs (1)
466return TimeSpan.FromTicks(DateTime.Now.Ticks);
PresentationFramework (19)
src\Framework\MS\Internal\Data\DataBindEngine.cs (2)
537long startTime = DateTime.Now.Ticks; // unit = 10^-7 sec 563if (DateTime.Now.Ticks - startTime > CrossThreadThreshold)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (3)
778DateTime dtStart = DateTime.Now; 818dtStop = DateTime.Now; 832dtStop = DateTime.Now;
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2258stopTime = DateTime.Now.AddMilliseconds(_maxMeasureTimeMs); 2284while (!endOfParagraph && DateTime.Now < stopTime);
src\Framework\MS\Internal\Utility\TraceLog.cs (1)
40string s = DateTime.Now.Ticks.ToString(CultureInfo.InvariantCulture)
src\Framework\System\Windows\Annotations\Annotation.cs (3)
126_created = DateTime.Now; 888_modified = DateTime.Now; 908_modified = DateTime.Now;
src\Framework\System\Windows\Controls\DatePicker.cs (1)
167new FrameworkPropertyMetadata(DateTime.Now, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, null, CoerceDisplayDate));
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
12204"Time:", DateTime.Now); 12243"Inactive at", DateTime.Now); 12261"Reactivate at", DateTime.Now);
src\Framework\System\Windows\Data\CollectionView.cs (2)
1876long beginTime = DateTime.Now.Ticks; 1890mustDeferProcessing = DateTime.Now.Ticks - beginTime > DataBindEngine.CrossThreadThreshold;
src\Framework\System\Windows\Documents\Speller.cs (2)
613timeLimit = DateTime.Now.Ticks + MaxIdleTimeSliceNs; 1988long nowTicks = DateTime.Now.Ticks;
System (24)
compmod\system\diagnostics\XmlWriterTraceListener.cs (1)
205InternalWrite(DateTime.Now.ToString("o", CultureInfo.InvariantCulture));
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
481return weekdayRangeInternal(DateTime.Now, dayOfWeek(wd1), dayOfWeek(_wd2)); 483return weekdayRangeInternal(DateTime.Now, dayOfWeek(wd1), dayOfWeek(wd1));
net\System\Net\cookie.cs (5)
78DateTime m_timeStamp = DateTime.Now; 220return (m_expires != DateTime.MinValue) && (m_expires.ToLocalTime() <= DateTime.Now); 224m_expires = DateTime.Now; 792int seconds = (int) (Expires.ToLocalTime() - DateTime.Now).TotalSeconds; 1427cookie.Expires = DateTime.Now.AddSeconds((double)parsed);
net\System\Net\cookiecollection.cs (1)
174m_TimeStamp = DateTime.Now;
net\System\Net\FtpWebRequest.cs (3)
1941m_FtpWebResponse = new FtpWebResponse(responseStream, -1, m_Uri, FtpStatusCode.Undefined, null, DateTime.Now, null, null, null); 2082ctx.CacheEntry.LastModifiedUtc == DateTime.MinValue? DateTime.Now: ctx.CacheEntry.LastModifiedUtc.ToLocalTime(), 2149ctx.CacheEntry.LastModifiedUtc == DateTime.MinValue? DateTime.Now: ctx.CacheEntry.LastModifiedUtc.ToLocalTime(),
net\System\Net\HttpWebResponse.cs (1)
287return DateTime.Now;
net\System\Net\mail\Message.cs (1)
433MailBnfHelper.GetDateTimeString(DateTime.Now, null));
net\System\Net\ServicePoint.cs (4)
136m_IdleSince = DateTime.Now; 162m_IdleSince = DateTime.Now; 524double elapsedDouble = (DateTime.Now - m_IdleSince).TotalMilliseconds; 1021m_IdleSince = DateTime.Now;
net\System\Net\webclient.cs (1)
624string boundary = "---------------------" + DateTime.Now.Ticks.ToString("x", NumberFormatInfo.InvariantInfo);
security\system\security\cryptography\x509\x509certificate2.cs (1)
1141DateTime.Now,
security\system\security\cryptography\x509\x509certificate2collection.cs (1)
659DateTime.Now,
security\system\security\cryptography\x509\x509chainpolicy.cs (1)
133m_verificationTime = DateTime.Now;
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (2)
932long tickDelta = (DateTime.Now.Ticks - Volatile.Read(ref LastInstanceLifetimeSweepTick)); 1026Volatile.Write(ref LastInstanceLifetimeSweepTick, DateTime.Now.Ticks);
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\LoadRetryExponentialBackoffStrategy.cs (1)
17Random random = new Random(DateTime.Now.Millisecond);
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
557this.timestamp = DateTime.Now;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
522System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} DesignerView.OnWorkflowViewContextMenuLoaded()", DateTime.Now.ToLocalTime()));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
653DateTime.Now.ToLocalTime(), (null == this.FocusedViewElement ? "<null>" : this.FocusedViewElement.GetType().Name), e.OriginalSource));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (4)
547DateTime.Now.ToLocalTime(), this.GetType().Name, selection.SelectionCount, becomesSelection, e.OriginalSource)); 642DateTime.Now.ToLocalTime(), this.GetType().Name, shouldSetFocus, this.IsMouseCaptured, e.OriginalSource)); 650DateTime.Now.ToLocalTime(), this.GetType().Name)); 814DateTime.Now.ToLocalTime(), this.GetType().Name, this.IsMouseCaptured));
System.AddIn (2)
System\Addin\Hosting\AddInStore.cs (2)
830DateTime timeStamp = DateTime.Now; 908DateTime timeStamp = DateTime.Now;
System.Core (11)
System\Diagnostics\Eventing\Reader\ProviderMetadataCachedInformation.cs (3)
79theTime = DateTime.Now; 136DateTime timeNow = DateTime.Now; 156cacheItem.TheTime = DateTime.Now;
System\Linq\Parallel\Merging\AsynchronousChannelMergeEnumerator.cs (1)
269TraceHelpers.TraceInfo("[timing]: {0}: Completed the merge", DateTime.Now.Ticks);
System\Linq\Parallel\Merging\SynchronousChannelMergeEnumerator.cs (1)
112TraceHelpers.TraceInfo("[timing]: {0}: Completed the merge", DateTime.Now.Ticks);
System\Linq\Parallel\QueryOperators\PartitionedStreamMerger.cs (1)
67TraceHelpers.TraceInfo("[timing]: {0}: finished opening - QueryOperator<>::GetEnumerator", DateTime.Now.Ticks);
System\Linq\Parallel\QueryOperators\QueryOperator.cs (1)
183TraceHelpers.TraceInfo("[timing]: {0}: starting execution - QueryOperator<>::GetQueryResults", DateTime.Now.Ticks);
System\Linq\Parallel\Scheduling\QueryTask.cs (4)
67TraceHelpers.TraceInfo("[timing]: {0}: Running work synchronously", DateTime.Now.Ticks, m_taskIndex); 86TraceHelpers.TraceInfo("[timing]: {0}: Queue work {1} to occur asynchronously", DateTime.Now.Ticks, m_taskIndex); 98TraceHelpers.TraceInfo("[timing]: {0}: Start work {1}", DateTime.Now.Ticks, m_taskIndex); 117TraceHelpers.TraceInfo("[timing]: {0}: End work {1}", DateTime.Now.Ticks, m_taskIndex);
System.Data (7)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
557this.timestamp = DateTime.Now;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
522System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} DesignerView.OnWorkflowViewContextMenuLoaded()", DateTime.Now.ToLocalTime()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
653DateTime.Now.ToLocalTime(), (null == this.FocusedViewElement ? "<null>" : this.FocusedViewElement.GetType().Name), e.OriginalSource));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (4)
547DateTime.Now.ToLocalTime(), this.GetType().Name, selection.SelectionCount, becomesSelection, e.OriginalSource)); 642DateTime.Now.ToLocalTime(), this.GetType().Name, shouldSetFocus, this.IsMouseCaptured, e.OriginalSource)); 650DateTime.Now.ToLocalTime(), this.GetType().Name)); 814DateTime.Now.ToLocalTime(), this.GetType().Name, this.IsMouseCaptured));
System.Data.Entity (1)
System\Data\Objects\DataClasses\StructuralObject.cs (1)
122return DateTime.Now;
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
72DateTime.Now.ToString( System.Globalization.CultureInfo.CurrentCulture ));
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
138DateTime.Now.ToString(System.Globalization.CultureInfo.CurrentCulture));
System.IdentityModel (6)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
86chainPolicy.VerificationTime = DateTime.Now;
System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
160DateTime now = DateTime.Now;
System\IdentityModel\SspiWrapper.cs (2)
153this.effectiveTimeUtc = DateTime.FromFileTimeUtc(lifeSpan.start) + (DateTime.UtcNow - DateTime.Now); 154this.expiryTimeUtc = DateTime.FromFileTimeUtc(lifeSpan.end) + (DateTime.UtcNow - DateTime.Now);
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1062rnd = new Random(unchecked((int)DateTime.Now.Ticks));
System\IdentityModel\X509CertificateValidatorEx.cs (1)
79this.chainPolicy.VerificationTime = DateTime.Now;
System.Management (2)
Instrumentation\WMICapabilities.cs (2)
97wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)))); 115wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
System.Runtime.Remoting (2)
channels\ipc\portcache.cs (2)
28_socketLastUsed = DateTime.Now; 74if (DateTime.Now - connection.LastUsed > _portLifetime)
System.Runtime.Serialization (1)
System\Xml\XmlMtomWriter.cs (1)
366return String.Format(CultureInfo.InvariantCulture, "http://tempuri.org/{0}/{1}", index, DateTime.Now.Ticks);
System.Security (7)
system\security\cryptography\pkcs\pkcs9attribute.cs (1)
75public Pkcs9SigningTime() : this(DateTime.Now) {}
system\security\cryptography\pkcs\pkcsutils.cs (4)
496if (certificate.NotBefore <= DateTime.Now && certificate.NotAfter >= DateTime.Now) { 533if (certificate.HasPrivateKey && certificate.NotBefore <= DateTime.Now && certificate.NotAfter >= DateTime.Now) {
system\security\cryptography\pkcs\signerinfo.cs (2)
401DateTime.Now, 692DateTime.Now,
System.ServiceModel (6)
System\ServiceModel\Administration\ManagementExtension.cs (1)
85services.Add(service, DateTime.Now);
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
49this.timestamp = DateTime.Now;
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
431this.random = new Random(unchecked((int)DateTime.Now.Ticks));
System\ServiceModel\Dispatcher\XPathMessageContext.cs (1)
1664context.Push(ConvertDate(DateTime.Now), count);
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (2)
255chain.ChainPolicy.VerificationTime = DateTime.Now; 267chain.ChainPolicy.VerificationTime = DateTime.Now;
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryMessageSequenceGenerator.cs (1)
38return (long)DateTime.Now.Subtract(DT1970).TotalSeconds;
System.Web (28)
Compilation\BuildResult.cs (2)
201private DateTime _nextUpToDateCheck = DateTime.Now.AddSeconds(UpdateInterval); 344DateTime now = DateTime.Now;
Handlers\AssemblyResourceLoader.cs (1)
640cachePolicy.SetExpires(DateTime.Now + TimeSpan.FromDays(365));
Hosting\IIS7WorkerRequest.cs (2)
2510_clientCertValidFrom = (notBefore != 0) ? DateTime.FromFileTime(notBefore) : DateTime.Now; 2511_clientCertValidUntil = (notAfter != 0) ? DateTime.FromFileTime(notAfter) : DateTime.Now;
Hosting\ISAPIWorkerRequest.cs (2)
1590_clientCertValidFrom = DateTime.Now; 1595_clientCertValidUntil = DateTime.Now;
HttpClientCertificate.cs (2)
270private DateTime _ValidFrom = DateTime.Now; 271private DateTime _ValidUntil = DateTime.Now;
HttpRuntime.cs (1)
2152Debug.Trace("AppDomainFactorySpecial", "Call SetUserForcedShutdown: FileName=" + e.FileName + "; now=" + DateTime.Now);
Management\WebEvents.cs (2)
2067DateTime now = DateTime.Now; 2238DateTime now = DateTime.Now;
ProcessModelInfo.cs (2)
40TimeSpan age = DateTime.Now.Subtract(startTime); 76TimeSpan age = DateTime.Now.Subtract(startTime);
Profile\ProfileManager.cs (1)
105return Provider.GetNumberOfInactiveProfiles(authenticationOption, DateTime.Now.AddDays(1)); //
Security\AuthStoreRoleProvider.cs (3)
532if (DateTime.Now > _LastUpdateCacheDate.AddMinutes(CacheRefreshInterval)) { 533_LastUpdateCacheDate = DateTime.Now; 633_LastUpdateCacheDate = DateTime.Now;
Security\FormsAuthenticationTicket.cs (1)
219_IssueDate = DateTime.Now;
State\OutOfProcStateClientManager.cs (1)
491DateTime now = DateTime.Now;
State\sqlstateclientmanager.cs (1)
533lockAge = DateTime.Now - lockDate;
UI\Page.cs (1)
792long ticks = DateTime.Now.Ticks % 999983;
UI\SessionPageStatePersister.cs (1)
102string sessionViewStateID = Convert.ToString(DateTime.Now.Ticks, 16);
UI\TemplateParser.cs (2)
803System.Web.Util.Debug.Trace("Template", "Starting parse at " + DateTime.Now); 874System.Web.Util.Debug.Trace("Template", "Ending parse at " + DateTime.Now);
UI\Util.cs (1)
436string uniqueToken = DateTime.Now.Ticks.GetHashCode().ToString("x", CultureInfo.InvariantCulture);
WorkerRequest.cs (2)
1127return DateTime.Now; 1136return DateTime.Now;
System.Web.DataVisualization (22)
Common\DataManager\DataPoint.cs (1)
2251 this._yValue[i] = DateTime.Now.ToOADate();
Common\DataManager\DataSeries.cs (12)
996DateTime[] dateValues = { DateTime.Now.Date, DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), DateTime.Now.Date.AddDays(4), DateTime.Now.Date.AddDays(4) }; 1026dateValues = new DateTime[] { DateTime.Now, DateTime.Now.AddMinutes(1), DateTime.Now.AddMinutes(2), DateTime.Now.AddMinutes(3), DateTime.Now.AddMinutes(4), DateTime.Now.AddMinutes(4) };
Common\General\Chart.cs (1)
876 yValuesObj[i] = (((Series)seriesList[0]).IsYValueDateTime()) ? DateTime.Now.Date.ToOADate() : 0.0;
WebForm\ChartWebControl.cs (2)
892if (fileTime.AddMinutes(imageTimeToLive) > DateTime.Now) 907TimeSpan timeSpan = DateTime.Now - fileTime;
WebForm\General\ChartHttpHandler.cs (6)
223TimeSpan lastWrite = DateTime.Now - Directory.GetLastWriteTime(Settings.Directory + _controllerDirectory); 1745internal DateTime Created = DateTime.Now; 1792this._current.Value.Created = DateTime.Now - this._itemLifeTime - TimeSpan.FromSeconds(1); 1823DateTime now = DateTime.Now; 1889DateTime now = DateTime.Now; 2004DateStamp = DateTime.Now;
System.Web.Extensions (5)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
435SqlHelper.AddParameter(conn, cmd, "@Date", DateTime.Now.ToFileTimeUtc().ToString(CultureInfo.InvariantCulture));
Handlers\ScriptResourceHandler.cs (2)
250DateTime now = DateTime.Now; 261DateTime now = DateTime.Now;
Script\Services\RestHandler.cs (1)
66context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(cacheDuration));
Script\Services\WebServiceData.cs (1)
124CacheDependency cd = HostingEnvironment.VirtualPathProvider.GetCacheDependency(virtualPath, deps.VirtualPaths, DateTime.Now);
System.Web.Mobile (2)
UI\MobileControls\MobilePage.cs (1)
555long ticks = DateTime.Now.Ticks % 999983;
UI\MobileControls\SessionViewState.cs (1)
187private DateTime _sessionUniqueID = DateTime.Now;
System.Web.Services (1)
System\Web\Services\Protocols\WebServiceHandler.cs (1)
63context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(cacheDuration));
System.Windows.Forms (30)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
763verificationTime = DateTime.Now; 819verificationTime = DateTime.Now;
winforms\Managed\System\WinForms\ComboBox.cs (6)
2229this.autoCompleteTimeStamp = DateTime.Now.Ticks; 2240if (DateTime.Now.Ticks - this.autoCompleteTimeStamp > AutoCompleteTimeout || 2253this.autoCompleteTimeStamp = DateTime.Now.Ticks; 2265if (DateTime.Now.Ticks - this.autoCompleteTimeStamp > AutoCompleteTimeout) { 2271this.autoCompleteTimeStamp = DateTime.Now.Ticks; 2284this.autoCompleteTimeStamp = DateTime.Now.Ticks;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2Properties.cs (3)
133touchedTime = DateTime.Now.Ticks; 204return DateTime.Now.Ticks - touchedTime; 218touchedTime = DateTime.Now.Ticks;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
5835(DateTime.Now.Ticks - this.lastMouseClickInfo.timeStamp) / 10000 <= SystemInformation.DoubleClickTime && 25558this.lastMouseClickInfo.timeStamp = DateTime.Now.Ticks;
winforms\Managed\System\WinForms\DateTimePicker.cs (4)
102private DateTime value = DateTime.Now; 103private DateTime creationTime = DateTime.Now; 1138creationTime = DateTime.Now; 1366this.value = DateTime.Now;
winforms\Managed\System\WinForms\ListView.cs (1)
3245rnd = new Random((int)System.DateTime.Now.Ticks);
winforms\Managed\System\WinForms\MonthCalendar.cs (3)
135private DateTime todayDate = DateTime.Now.Date; 702return DateTime.Now.Date; 1476textExtent = WindowsGraphicsCacheManager.MeasurementGraphics.GetTextExtent(DateTime.Now.ToShortDateString(), font);
winforms\Managed\System\WinForms\NumericUpDown.cs (2)
630long nowTicks = DateTime.Now.Ticks; 693this.buttonPressedStartTime = DateTime.Now.Ticks;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5399Random rnd = new Random(DateTime.Now.Millisecond);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
2806long timeStamp = DateTime.Now.Ticks; 3648rowSelectTime = DateTime.Now.Ticks;
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (2)
63return new SelectionRange(DateTime.Now.Date, DateTime.Now.Date);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
2957long newTime = DateTime.Now.Ticks;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
560long newTime = DateTime.Now.Ticks;
System.Windows.Forms.DataVisualization (14)
Common\DataManager\DataPoint.cs (1)
2251 this._yValue[i] = DateTime.Now.ToOADate();
Common\DataManager\DataSeries.cs (12)
996DateTime[] dateValues = { DateTime.Now.Date, DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), DateTime.Now.Date.AddDays(4), DateTime.Now.Date.AddDays(4) }; 1026dateValues = new DateTime[] { DateTime.Now, DateTime.Now.AddMinutes(1), DateTime.Now.AddMinutes(2), DateTime.Now.AddMinutes(3), DateTime.Now.AddMinutes(4), DateTime.Now.AddMinutes(4) };
Common\General\Chart.cs (1)
876 yValuesObj[i] = (((Series)seriesList[0]).IsYValueDateTime()) ? DateTime.Now.Date.ToOADate() : 0.0;
System.Workflow.ComponentModel (3)
AuthoringOM\Design\WorkflowLayouts.cs (2)
348private DateTime previewTime = DateTime.Now; 778this.previewTime = DateTime.Now;
AuthoringOM\Design\WorkflowPrinting.cs (1)
364this.printTime = DateTime.Now;
System.Workflow.Runtime (4)
Hosting\WorkflowPersistenceService.cs (4)
49DateTime startTime = DateTime.Now; 65TimeSpan timeElapsed = DateTime.Now - startTime; 79DateTime startTime = DateTime.Now; 90TimeSpan timeElapsed = DateTime.Now - startTime;
System.Xml (4)
System\Xml\Schema\XsdDateTime.cs (4)
382result = new DateTime(DateTime.Now.Year, xdt.Month, xdt.Day); 386DateTime currentDateTime = DateTime.Now; 439dt = new DateTime( DateTime.Now.Year, xdt.Month, xdt.Day ); 443DateTime currentDateTime = DateTime.Now;
WindowsBase (13)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
1180xDoc.DocumentElement.AppendChild(XmlSignatureProperties.AssembleSignatureProperties(xDoc, DateTime.Now, _manager.TimeFormat, signatureId));
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (1)
170DateTime signingTime = DateTime.Now;
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (1)
272_localFileHeader.LastModFileDateTime = ZipIOBlockManager.ToMsDosDateTime(DateTime.Now);
Base\MS\Internal\IO\Zip\ZipIOLocalFileHeader.cs (1)
84header._lastModFileDateTime = ZipIOBlockManager.ToMsDosDateTime(DateTime.Now);
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (5)
539SystemTime validFromSysTime = new SystemTime(DateTime.Now); 540SystemTime validUntilSysTime = new SystemTime(DateTime.Now); 875SystemTime timeFromTemp = new SystemTime(DateTime.Now); 876SystemTime timeUntilTemp = new SystemTime(DateTime.Now); 956SystemTime frequency = new SystemTime(DateTime.Now);
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (2)
722Int64 timeSeed = DateTime.Now.ToFileTime(); 994Int64 timeSeed = DateTime.Now.ToFileTime();
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
903collection = collection.Find(X509FindType.FindByTimeValid, DateTime.Now, true);
Base\System\Windows\Threading\Dispatcher.cs (1)
2780"{0:O} {1} failed", DateTime.Now, methodName));
WsatUI (1)
Configuration\ETWWsatTraceSession.cs (1)
199DateTime localtime = DateTime.Now;