StringContent Constructor (String, Encoding)

Initializes a new instance of the StringContent class.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public StringContent(
	string content,
	Encoding encoding
)

Parameters

content
Type: System.String
encoding
Type: System.Text.Encoding
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft