Table of Contents

Class UserAgentMetadata.Builder

Namespace
DotNetBrowser.Browser
Assembly
DotNetBrowser.dll

A builder class to construct UserAgentMetadata.

public class UserAgentMetadata.Builder
Inheritance
UserAgentMetadata.Builder
Inherited Members

Remarks

Each of the properties modifies the state of the builder. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Constructors

Builder()

Initializes a new instance of UserAgentMetadata.Builder is initialized with default values.

Builder(UserAgentMetadata)

Initializes a new instance of UserAgentMetadata.Builder with an existing UserAgentMetadata instance.

Properties

Architecture

Gets or sets the CPU architecture of the system.

Bitness

Gets or sets bitness of the system architecture.

BrandFullVersionList

Gets the list of brand and full versions. Typically, providing more detailed version information.

BrandVersionList

Gets the list of brand and major versions.

FormFactors

Gets the form-factors associated with the device.

FullVersion

Gets or sets the full version string that corresponds to the user agent, or a brand in the brand list.

Mobile

Gets or sets the mobile flag that show whether the client device is a mobile device.

Model

Gets or sets the model name of the device running the user agent.

Platform

Gets or sets the commercial name of the user agent's operating system.

PlatformVersion

Gets or sets the version of the operating system running the user agent.

Wow64

Gets or sets WOW64 flag that indicates if the user agent is running in 32-bit mode on a 64-bit Windows system.

Methods

Build()

Creates a UserAgentMetadata instance.