internal static bool IsSpider(this UAParser.Device device)
 {
     return(device.Family.Equals("Spider", StringComparison.InvariantCultureIgnoreCase));
 }
Esempio n. 2
0
 /// <summary>
 /// Constructing the client information
 /// </summary>
 /// <param name="os">the operating system information</param>
 /// <param name="device">the device information</param>
 /// <param name="userAgent">the user agent information</param>
 public ClientInfo(OS os, Device device, UserAgent userAgent)
 {
     OS = os;
       Device = device;
       UserAgent = userAgent;
 }