InPlaceHostingManager.AssertApplicationRequirements Method (Boolean)
Determines whether the ClickOnce application has the appropriate permissions and platform dependencies to run on the local computer.
Assembly: System.Deployment (in System.Deployment.dll)
If grantApplicationTrust is true, InPlaceHostingManager will grant the application elevated permissions if it requires them. This is only possible if InPlaceHostingManager is able to grant those permissions. For example, if a ClickOnce application is being installed as part of a larger package and the installer has been granted full trust, InPlaceHostingManager will be able to grant the ClickOnce application full trust. If grantApplicationTrust is false, the application will not be granted any permissions.
Available since 2.0