WindowsFormsApplication1.TrustInfo.xml 1.2 KB

1234567891011
  1. <?xml version="1.0" encoding="utf-8"?><trustInfo xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"><security><applicationRequestMinimum><PermissionSet version="1" class="System.Security.NamedPermissionSet" Name="LocalIntranet" Description="Default rights given to applications on the local intranet" Unrestricted="true" ID="Custom" SameSite="site" /><defaultAssemblyRequest permissionSetReference="Custom" /></applicationRequestMinimum><requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"><!-- UAC 清单选项
  2. 如果想要更改 Windows 用户帐户控制级别,请使用
  3. 以下节点之一替换 requestedExecutionLevel 节点。n
  4. <requestedExecutionLevel level="asInvoker" uiAccess="false" />
  5. <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
  6. <requestedExecutionLevel level="highestAvailable" uiAccess="false" />
  7. 指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
  8. 如果你的应用程序需要此虚拟化来实现向后兼容性,则删除此
  9. 元素。
  10. --><requestedExecutionLevel level="asInvoker" uiAccess="false" /></requestedPrivileges></security></trustInfo>