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.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntax 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:
BooleanImplements
IAnalyticsUserAgentParserTryGetMobileDevice(String, String)See Also