This documentation is archived and is not being maintained.

HttpWebRequestElement.MaximumUnauthorizedUploadLength Property

Gets or sets the maximum length of an upload in response to an unauthorized error code.

Namespace: System.Net.Configuration
Assembly: System (in system.dll)

public int MaximumUnauthorizedUploadLength { get; set; }
/** @property */
public int get_MaximumUnauthorizedUploadLength ()

/** @property */
public void set_MaximumUnauthorizedUploadLength (int value)

public function get MaximumUnauthorizedUploadLength () : int

public function set MaximumUnauthorizedUploadLength (value : int)

Not applicable.

Property Value

A 32-bit signed integer containing the maximum length (in bytes) of an upload in respons to an unauthorized error code. A value of -1 indicates that no size limit will be imposed on the upload. The default value is -1.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0