# UploadingEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Provides data for the [Uploading](https://docs.wisej.com/api/wisej.web/content/upload/..#uploading) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public class UploadingEventArgs : CancelEventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class UploadingEventArgs
    Inherits CancelEventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) UploadingEventArgs(fileNames, fileSizes)

Initializes a new instance of the [UploadingEventArgs](https://docs.wisej.com/api/wisej.web/content/upload/wisej.web.uploadingeventargs) class with the specified collection of uploaded files.

| Name          | Type                                                              | Description                                                        |
| ------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------ |
| **fileNames** | [String\[\]](https://docs.microsoft.com/dotnet/api/system.string) | A string array containing the named of the files being uploaded.   |
| **fileSizes** | [Int64\[\]](https://docs.microsoft.com/dotnet/api/system.int64)   | An integer array containing the sizes of the files being uploaded. |

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) FileNames

[String\[\]](https://docs.microsoft.com/dotnet/api/system.string): Returns an array containing the names of the files being uploaded.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) FileSizes

[Int64\[\]](https://docs.microsoft.com/dotnet/api/system.int64): Returns an array containing the sizes in bytes of the files being uploaded.

## Used By

| Name                                                                                                         | Description                                                                                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [UploadingEventHandler](https://docs.wisej.com/api/wisej.web/content/upload/wisej.web.uploadingeventhandler) | Represents the method that will handle the [Uploading](https://docs.wisej.com/api/wisej.web/content/upload/..#uploading) event of a [Upload](https://docs.wisej.com/api/wisej.web/content/upload) control. |
