HttpContentFormDataExtensions.IsFormData Method (HttpContent)

 

Determines whether the specified content is HTML form URL-encoded data.

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

public static bool IsFormData(
	this HttpContent content
)

Parameters

content
Type: System.Net.Http.HttpContent

The content.

Return Value

Type: System.Boolean

true if the specified content is HTML form URL-encoded data; otherwise, false.

Return to top
Show: