How can we ensure that this 'computer time' remains updated (live) close to Parallels suspension ->

Discussion in 'Parallels Remote Application Server' started by SandwichT, Feb 8, 2024.

  1. SandwichT

    SandwichT

    Messages:
    2
    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?
     
  2. jpc

    jpc Pro

    Messages:
    449
    @SandwichT Is this related to Parallels RAS or to Parallels Desktop? (This is the Parallels RAS forum, good luck with your other post though)
     

Share This Page