Table of Contents

Class FileSizeLimits

Namespace
Geotab.Checkmate.ObjectModel.Limits
Assembly
Geotab.Checkmate.ObjectModel.dll

Represents size limits of file based on extension.

public class FileSizeLimits
Inheritance
FileSizeLimits
Inherited Members

Constructors

FileSizeLimits()

public FileSizeLimits()

Properties

MaxApplicationSizeBytes

Gets or sets the maximum application file size in bytes.

public int MaxApplicationSizeBytes { get; set; }

Property Value

int

The maximum application file size in bytes.

MaxBinaryDataSizeBytes

Gets or sets the maximum binary data file size in bytes.

public int MaxBinaryDataSizeBytes { get; set; }

Property Value

int

The maximum binary data file size in bytes.

MaxImageSizeBytes

Gets or sets the maximum image size in bytes.

public int MaxImageSizeBytes { get; set; }

Property Value

int

The maximum image size in bytes.

MaxVideoSizeBytes

Gets or sets the maximum video size in bytes.

public int MaxVideoSizeBytes { get; set; }

Property Value

int

The maximum video size in bytes.

Methods

Clone()

Creates a new object that is a copy of the current instance.

public object Clone()

Returns

object

A new object that is a copy of this instance.

GetLimit(string)

Get the size limit for a given extension.

public int GetLimit(string extension)

Parameters

extension string

The file extension.

Returns

int

The limit in bytes.