Gets or sets a value that determines a query string parameter, which value can be used for getting an access for the specific Upload and its status.

Namespace:  EasyAlgo.EAUpload
Assembly:  EasyAlgo.EAUpload (in EasyAlgo.EAUpload.dll)
Version: 1.3.1.0

Syntax

C#
public string UploadIDParameter { get; set; }
Visual Basic (Declaration)
Public Property UploadIDParameter As String

Field Value

Type: System..::.String
A String that contains the name of parameter at the query string. Default value is "UploadId"

Remarks

This property is a reflection of EAUpload configuration parameter (<EasyAlgo.EAUpload>/<Environment ... UploadIDParameter="" ... >).
The logic of EAUpload component defines that if query string contains parameter with the name that is defined by this property, then new instance of Upload class takes value of this parameter as unique identifier (ex: http://www.mysite.com/UploadFile.aspx?UploadId=34982304092). Otherwise the unique identifier is created automatically.

Note:If you need to get an access to specific upload, to get a UploadStatus of specific upload or to define a specific UploadEnvironment, then using UploadIDParameter parameter is required

Note:If you want to change this property at the runtime, you should define it at the Initializing stage of an upload (see EasyAlgo.EAUpload..::.UploadState for more information). All changes for processed uploads will be ignored. Also if you have changed this property for the whole of EAUpload component (EAUploadModule..::.CommonEnvironment property) then new value will be used for the new uploads only.

Examples

You can find an example in the description of UploadEnvironment class.

See Also