using System; using System.Windows; using System.Windows.Interop; namespace PRSDesktop; public static class PrsUtils { public static IntPtr GetWindowHandle(Window window) => new WindowInteropHelper(window).Handle; }