Dns Permission

Adds a DnsPermission to the project. Controls rights to access Domain Name System (DNS) servers on the network.

Recipe Description

The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.


Name Description
Unrestricted Required Boolean. If Unrestricted is true, the DnsPermission instance passes all demands. If Unrestricted is false, the DnsPermission instance fails all demands.


  • Torsten Mandelkow

Version history

  • 1.0 Initial Recipe