Class
OfficeRemoteImageLoadOptions
OfficeIMO.Drawing
Controls bounded HTTP and HTTPS image retrieval.
Inheritance
- object
- OfficeRemoteImageLoadOptions
Constructors
public OfficeRemoteImageLoadOptions() #Inherited Methods
Properties
public long MaximumBytes { get; set; } #Maximum response size in bytes.
public TimeSpan Timeout { get; set; } #Maximum time allowed for the complete request.
public int MaximumRedirects { get; set; } #Maximum number of same-origin redirects that may be followed.
public bool AllowPrivateNetworkAddresses { get; set; } #Allows loopback, private, link-local, multicast, and otherwise non-public destination addresses. The secure default is false; enable this only for explicitly trusted intranet image sources.
public ISet<string> AllowedHosts { get; } #Optional exact host allowlist. When non-empty, every initial and redirected destination must match one of these host names (case-insensitive).