IHtmlResource

IHtmlResource interface

Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML), audio etc.)

public interface IHtmlResource : IAuxDisposable, IEquatable<IHtmlResource>

Properties

Name Description
ByteContent { get; } Content of the HTML resource in a form of a byte stream
FilenameWithExtension { get; } Correct filename of the specified resource with appropriate file extension
Name { get; } Name of the HTML resource
TextContent { get; } Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources
Type { get; } Type of the HTML resource

Methods

Name Description
Save(string) Saves a current resource to the specified file

See Also