AgentPrismAttachmentOptions
Namespace AgentPrism · Assembly
AgentPrism.Core.dllDefines attachment upload limits for size and media-type allow lists.
public sealed class AgentPrismAttachmentOptionsInheritance
Section titled “Inheritance”object ← AgentPrismAttachmentOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Binary content lives in attachments and messages carry only a reference.
These options apply only during upload. Type validation uses magic bytes, not
the client-supplied Content-Type; see AttachmentTypeGuard.
Constructors
Section titled “Constructors”AgentPrismAttachmentOptions()
Section titled “ AgentPrismAttachmentOptions()”public AgentPrismAttachmentOptions()Properties
Section titled “Properties”AllowedMediaTypes
Section titled “ AllowedMediaTypes”Gets allowed MIME types. A subtype wildcard such as "audio/*" is
accepted. Executable content types are deliberately excluded.
public ISet<string> AllowedMediaTypes { get; }Property Value
Section titled “Property Value”MaxBytes
Section titled “ MaxBytes”Gets or sets the largest byte count for one attachment. Defaults to 20 MB.
public long MaxBytes { get; set; }