StringContent Constructor (String, Encoding, String)
Initializes a new instance of the StringContent class.

Namespace: Aspose.Html.Net
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
public StringContent(
	string content,
	Encoding encoding,
	string mediaType
)

Parameters

content
Type: SystemString
The content.
encoding
Type: System.TextEncoding
The encoding.
mediaType
Type: SystemString
Type of the media.
See Also