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
FileName
The name of the file to be uploaded.
public string? FileName { get; set; }
Property Value
Stream
The content of the file to be uploaded.
public required Stream Stream { get; set; }
Property Value
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
disposingbool
Operators
implicit operator FileParameter(Stream)
public static implicit operator FileParameter(Stream stream)
Parameters
streamStream