Hunny Software Library Reference

MediaType.Name Property

Gets or sets the value of the name parameter.

[Visual Basic]
Public Property Name As String
[C#]
public string Name {get; set;}

Property Value

The value of the name parameter.

Remarks

The name parameter is often found in several media types, including the application/octet-stream media type. It suggests a file name for saving the content to a disk file. (The filename parameter in the content-disposition header field is an alternative way to indicate a file name.)

If there is no name parameter, the property returns an empty string.

This property is a convenience property that searches the list of Parameter objects.

See Also

MediaType Class | Hunny.Mime Namespace