We're using Parallels to host Windows. On Windows we run software developed in .Net Core.
The software accesses the 'computer time' by accessing the property DateTime.UtcNow (See Microsoft documentation here: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.utcnow?view=net-8.0).
That property is stale for a bit of time after Parallels (Windows) suspension -> restart event - this causes errors in our application. It is easy to emulate by putting the Mac to sleep and waking it up.
Question 1:
How can we ensure that this 'computer time' remains updated (live) close to Parallels suspension -> restart?
Question 2:
On a Windows machine, we got notified when its 'Power Mode Changed' (https://learn.microsoft.com/en-us/d...nts.powermodechanged?view=dotnet-plat-ext-8.0).
We don't see this notification when Windows is running in Parallels. Do you have more information on this?
The software accesses the 'computer time' by accessing the property DateTime.UtcNow (See Microsoft documentation here: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.utcnow?view=net-8.0).
That property is stale for a bit of time after Parallels (Windows) suspension -> restart event - this causes errors in our application. It is easy to emulate by putting the Mac to sleep and waking it up.
Question 1:
How can we ensure that this 'computer time' remains updated (live) close to Parallels suspension -> restart?
Question 2:
On a Windows machine, we got notified when its 'Power Mode Changed' (https://learn.microsoft.com/en-us/d...nts.powermodechanged?view=dotnet-plat-ext-8.0).
We don't see this notification when Windows is running in Parallels. Do you have more information on this?