申请UAC 高级权限用, 同时不会影响系统风格

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
            <requestedPrivileges>
                <requestedExecutionLevel level="requireAdministrator"/>
            </requestedPrivileges>
        </security>
    </trustInfo>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                type="win32"
                name="Microsoft.Windows.Common-Controls"
                version="6.0.0.0"
                processorArchitecture="x86"
                publicKeyToken="6595b64144ccf1df"
                language="*"
            />
        </dependentAssembly>
    </dependency>
</assembly>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2021-09-17
  • 2021-07-01
  • 2021-11-21
  • 2021-04-23
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2021-09-24
  • 2021-07-11
  • 2021-06-05
  • 2021-07-26
  • 2022-12-23
相关资源
相似解决方案