Represents a value which can either be a product or a comment in a User-Agent header.
Assembly: System.Net.Http (in System.Net.Http.dll)
Thetype exposes the following members.
|Equals||Determines whether the specified Object is equal to the current object. (Overrides Object.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for an object. (Overrides Object.GetHashCode().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Parse||Converts a string to an instance.|
|ToString||Returns a string that represents the current object. (Overrides Object.ToString().)|
|TryParse||Determines whether a string is valid information.|
The class provides support for the product and comment tokens values used in a User-Agent header as defined in RFC 2616 by the IETF.
The User-Agent field contains information about the user agent originating the request. The field can contain multiple product tokens and comments identifying the user agent and any sub-products.
Windows Phone 8.1
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.