The Client type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetCacheDir |
Getter for the cache location
|
![]() | GetCacheItemExpirySeconds |
Getter for the cache item expiry
|
![]() | GetCloudUrl |
Getter for service URL setting.
|
![]() | GetDeviceData(NameValueCollection) |
Get the device data by passing in a collection of headers. The most important
header is 'User-Agent', without this no device detection can take place. The
other headers are used to supplement the 'User-Agent' and are useful to find
devices that are not yet part of DeviceAtlas.
|
![]() | GetDeviceData(HttpRequest) |
Get the device data by passing in a HttpRequest object. The HTTP headers
are extracted from this. The most important header is 'User-Agent', without
this no device detection can take place. The other headers are used to
supplement the 'User-Agent' and are useful to find devices that are not yet
part of DeviceAtlas.
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() ![]() | GetInstance |
Get the instance for the Client
|
![]() | GetLicenceKey |
Getter for licence key
|
![]() | GetSendExtraHeaders |
Getter for the sendExtraHeaders setting. Defaults to false. If this TRUE then
extra client headers are sent with each request to the service. If this is FALSE then
only select headers essential for detection are sent.
|
![]() | GetTestMode |
Getter for testMode setting. If this is TRUE then a test User-Agent will
be used for the query.
|
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | GetUseCache |
Getter for useCache setting.
|
![]() | GetVersion |
Get the API version
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | SetCacheDir |
Setter for the cache location
|
![]() | SetCacheItemExpirySeconds |
Setter for the cache item expiry
|
![]() | SetCloudUrl |
Setter for service URL setting. This only needs to be changed if the built in
service URL is no longer active.
|
![]() | SetLicenceKey |
Setter for licence key
|
![]() | SetSendExtraHeaders |
Setter for the sendExtraHeaders setting. Defaults to false. If this TRUE then
extra client headers are sent with each request to the service. If this is FALSE then
only select headers essential for detection are sent.
|
![]() | SetTestMode |
Setter for testMode setting. Defaults to false. If this is TRUE then a test User-Agent will
be used for the query.
|
![]() | SetUseCache |
Setter for useCache setting. Defaults to true.
|
![]() | ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | KEY_PROPERTIES |
The properties key used in results array
|
![]() ![]() | KEY_SOURCE |
The source key used in results array
|
![]() ![]() | KEY_USERAGENT |
The useragent key used in results array
|
![]() ![]() | SOURCE_CACHE |
The cache source of data in results array
|
![]() ![]() | SOURCE_CLOUD |
The cloud source of data in results array
|
![]() ![]() | SOURCE_NONE |
No source of data in results array. This only occurs if there has been an error.
|