\r\n

51Degrees Device Detection .NET  4.4

Device detection services for 51Degrees Pipeline

FiftyOne.DeviceDetection.Examples.Constants Class Reference

Public Attributes

const string  ENTERPRISE_HASH_DATA_FILE_NAME = "Enterprise-HashV41.hash"
The default name of the paid-for enterprise device detection data file. More...
const string  LITE_HASH_DATA_FILE_NAME = "51Degrees-LiteV4.1.hash"
The default name of the free 'lite' device detection data file. More...
const string  APPLE_DATA_FILE_NAME = "macintosh.data.json"
The default name of the file that is used by the AppleProfileEngine More...
const string  YAML_EVIDENCE_FILE_NAME = "20000 Evidence Records.yml"
Name of the file to use for the test evidence. More...
const string  LICENSE_KEY_ENV_VAR = "DEVICEDETECTIONLICENSEKEY_DOTNET"
Environment variable key for the license key file to use for the tests. More...
const string  DEVICE_DETECTION_DATA_FILE_ENV_VAR = "DEVICEDETECTIONDATAFILE"
Environment variable key for the data file to use for the tests. More...
const string  EVIDENCE_FILE_ENV_VAR = "EVIDENCEFILE"
Environment variable key for the evidence file to use for the tests. More...

Static Public Attributes

static readonly int []  LOCALHOST_HTTP_PORTS = new int[] { 5101 }
Ports used for running web examples and their tests. More...
static readonly int []  LOCALHOST_HTTPS_PORTS = new int[] { 5001, 5002 }
static string []  AllUrls
The URLs that the web server should listen on. More...

Member Data Documentation

◆ AllUrls

string [] FiftyOne.DeviceDetection.Examples.Constants.AllUrls
static
Initial value:
=>
Constants.LOCALHOST_HTTP_PORTS.Select(i =>
$"http://localhost:{i}").Concat(
Constants.LOCALHOST_HTTPS_PORTS.Select(i =>
$"https://localhost:{i}")).ToArray()

The URLs that the web server should listen on.

◆ APPLE_DATA_FILE_NAME

const string FiftyOne.DeviceDetection.Examples.Constants.APPLE_DATA_FILE_NAME = "macintosh.data.json"

The default name of the file that is used by the AppleProfileEngine

◆ DEVICE_DETECTION_DATA_FILE_ENV_VAR

const string FiftyOne.DeviceDetection.Examples.Constants.DEVICE_DETECTION_DATA_FILE_ENV_VAR = "DEVICEDETECTIONDATAFILE"

Environment variable key for the data file to use for the tests.

◆ ENTERPRISE_HASH_DATA_FILE_NAME

const string FiftyOne.DeviceDetection.Examples.Constants.ENTERPRISE_HASH_DATA_FILE_NAME = "Enterprise-HashV41.hash"

The default name of the paid-for enterprise device detection data file.

◆ EVIDENCE_FILE_ENV_VAR

const string FiftyOne.DeviceDetection.Examples.Constants.EVIDENCE_FILE_ENV_VAR = "EVIDENCEFILE"

Environment variable key for the evidence file to use for the tests.

◆ LICENSE_KEY_ENV_VAR

const string FiftyOne.DeviceDetection.Examples.Constants.LICENSE_KEY_ENV_VAR = "DEVICEDETECTIONLICENSEKEY_DOTNET"

Environment variable key for the license key file to use for the tests.

◆ LITE_HASH_DATA_FILE_NAME

const string FiftyOne.DeviceDetection.Examples.Constants.LITE_HASH_DATA_FILE_NAME = "51Degrees-LiteV4.1.hash"

The default name of the free 'lite' device detection data file.

◆ LOCALHOST_HTTP_PORTS

readonly int [] FiftyOne.DeviceDetection.Examples.Constants.LOCALHOST_HTTP_PORTS = new int[] { 5101 }
static

Ports used for running web examples and their tests.

◆ YAML_EVIDENCE_FILE_NAME

const string FiftyOne.DeviceDetection.Examples.Constants.YAML_EVIDENCE_FILE_NAME = "20000 Evidence Records.yml"

Name of the file to use for the test evidence.