C# responds to changes in system configuration items

大家讲道理
Release: 2016-11-10 10:10:34
Original
1468 people have browsed it

For example, after we lock the system, if QQ does not exit, it will show a busy status.

Please add the namespace Microsoft.Win32, and then register the following events.

. DisplaySettingsChanged (including Changing) display settings

. InstalledFontsChanged font change

. PaletteChanged

. PowerModeChanged power state

. SessionEnded (the user is logging out or the session has ended)

.

. TimeChanged

. UserPreferenceChanged (User preference includes Changing)

Our ERP system will monitor whether the system time has changed. If the time is adjusted outside the range of the ERP license file, the ERP software will become unavailable.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!