This documentation is archived and is not being maintained.

HttpWebRequestElement.MaximumUnauthorizedUploadLength Property

Note: This property is new in the .NET Framework version 2.0.

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)

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: