Esempio n. 1
0
 public static bool IsFromMobile()
 {
     return(RegExec(DataConvert.ToString(HttpContext.Current.Request.UserAgent).Trim().ToLower(), "(iphone|ipod|android|ios)"));
 }
Esempio n. 2
0
 public static string GetAppSettingsKeyValue(string keyName)
 {
     return(DataConvert.ToString(ConfigurationManager.AppSettings[keyName]));
 }