Export (0) Print
Expand All

AppDomainSetup.DisallowCodeDownload Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets or sets a value indicating whether HTTP download of assemblies is allowed for an application domain.

[Visual Basic]
Public Property DisallowCodeDownload As Boolean
[C#]
public bool DisallowCodeDownload {get; set;}
[C++]
public: __property bool get_DisallowCodeDownload();
public: __property void set_DisallowCodeDownload(bool);
[JScript]
public function get DisallowCodeDownload() : Boolean;
public function set DisallowCodeDownload(Boolean);

Property Value

true if HTTP download of assemblies is to be disallowed; otherwise, it is allowed.

Remarks

The DisallowCodeDownload property is designed to be used by services and server applications where downloading code from an intranet or the Internet is not part of the application scenario.

CAUTION   The default value for the System.AppdomainSetup.DisalowCodeDownload property is false. This setting is unsafe for services. To help prevent services from downloading partially trusted code, set this property to true.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

AppDomainSetup Class | AppDomainSetup Members | System Namespace

Show:
© 2015 Microsoft