Click or drag to resize
AnalyticsUserAgentParserTryGetMobileDevice Method
Returns true when mobile device can be parsed from given userAgentmobileDevice is assigned by parsed value in such case. Returns false otherwise.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntax
C#
public bool TryGetMobileDevice(
	string userAgent,
	out string mobileDevice
)

Parameters

userAgent
Type: SystemString
User agent string provided by client browser.
mobileDevice
Type: SystemString
Parsed mobile device identifier.

Return Value

Type: Boolean

Implements

IAnalyticsUserAgentParserTryGetMobileDevice(String, String)
See Also