public static CacheServerConfig GetCacheDom(string cacheId, string userId, string password, bool inproc) { string filePath = GetBaseFilePath("config.ncconf"); CacheServerConfig dom = null; if (filePath != null) { try { dom = ThinClientConfigManager.GetConfigDom(cacheId, filePath, userId, password, inproc); } catch (ManagementException exception) { } } return(dom); }
public static ArrayList GetCacheConfig(string cacheId, string userId, string password, bool inproc) { string filePath = GetBaseFilePath("config.ncconf"); ArrayList configurationList = null; if (filePath != null) { try { configurationList = ThinClientConfigManager.GetCacheConfig(cacheId, filePath, userId, password, inproc); } catch (ManagementException exception) { } } return(configurationList); }