Class UserAgentMetadata
Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints Missing optional values will be filled in by the target with what it would normally use.
public sealed record UserAgentMetadata : IEquatable<UserAgentMetadata>
- Inheritance
-
UserAgentMetadata
- Implements
- Inherited Members
Constructors
UserAgentMetadata(string, string, string, string, bool)
Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints Missing optional values will be filled in by the target with what it would normally use.
public UserAgentMetadata(string Platform, string PlatformVersion, string Architecture, string Model, bool Mobile)
Parameters
Properties
Architecture
public string Architecture { get; init; }
Property Value
Bitness
public string? Bitness { get; init; }
Property Value
Brands
Brands appearing in Sec-CH-UA.
public ImmutableArray<UserAgentBrandVersion>? Brands { get; init; }
Property Value
FormFactors
Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
public ImmutableArray<string>? FormFactors { get; init; }
Property Value
FullVersion
[Obsolete]
public string? FullVersion { get; init; }
Property Value
FullVersionList
Brands appearing in Sec-CH-UA-Full-Version-List.
public ImmutableArray<UserAgentBrandVersion>? FullVersionList { get; init; }
Property Value
Mobile
public bool Mobile { get; init; }
Property Value
Model
public string Model { get; init; }
Property Value
Platform
public string Platform { get; init; }
Property Value
PlatformVersion
public string PlatformVersion { get; init; }
Property Value
Wow64
public bool? Wow64 { get; init; }
Property Value
- bool?