Table of Contents

Class FileParameter

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

File parameter for uploading files.

public record FileParameter : IDisposable, IEquatable<FileParameter>
Inheritance
FileParameter
Implements
Inherited Members
Extension Methods

Properties

ContentType

The content type of the file to be uploaded.

public string? ContentType { get; set; }

Property Value

string

FileName

The name of the file to be uploaded.

public string? FileName { get; set; }

Property Value

string

Stream

The content of the file to be uploaded.

public required Stream Stream { get; set; }

Property Value

Stream

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

Operators

implicit operator FileParameter(Stream)

public static implicit operator FileParameter(Stream stream)

Parameters

stream Stream

Returns

FileParameter