Skip to content

ApplicationName property isn't validated #729

Closed
@mmdriley

Description

@mmdriley

The ApplicationName property has to be valid when included in a User-Agent value. We don't validate it eagerly, so users can see a FormatError later when we actually try to construct the request.

We can do the validation with ProductInfoHeaderValue.TryParse.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions