Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,678 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello team,
Getting exception .Net 4.8 framework at runtime while setting the aero theme in WPF application in below lines. Any help would be appreciated.
SystemResources_hwndNotifyHookField.SetValue(hookDelegate, null);
var hwndNotify = SystemResources_hwndNotifyField.GetValue(hookDelegate);
var hwndNotifyValue = SecurityCriticalDataClass_ValueProperty.GetValue(null, hwndNotify);
HwndWrapper_AddHookMethod.Invoke(null, new object[] { hookDelegate })
Please provide me equivalent code in 4.8 Framework. It works well with 4.6 framework.