# CaptureMode

Namespace: **Wisej.Web**

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

Specifies the possible values for the [CaptureMode](https://docs.wisej.com/api/wisej.web/content/upload/..#capturemode) property.

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

```csharp
public enum CaptureMode : Enum
```

{% endtab %}

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

```visual-basic
Public Enum CaptureMode As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name            | Description                                                                |
| --------------- | -------------------------------------------------------------------------- |
| **Default**     | Default value.                                                             |
| **Environment** | Specifies that the outward-facing camera and/or microphone should be used. |
| **User**        | Indicates that the user-facing camera and/or microphone should be used.    |

## Used By

| Name                                                                                     | Description                                                                                                                                                                                                                                                          |
| ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Upload.CaptureMode](https://docs.wisej.com/api/wisej.web/content/upload/..#capturemode) | Returns or sets a value that specifies which camera to use for capture of image or video data, if the [AllowedFileTypes](https://docs.wisej.com/api/wisej.web/content/upload/..#allowedfiletypes) property indicates that the input should be of one of those types. |
