internal static string GetTraceFolderPath() { string tracePath = RegistryHelper.EvaluateString("TraceDirectory", CrmRegistryPath); if (tracePath == null) { string installPath = RegistryHelper.EvaluateString("CRM_Server_InstallDir", CrmRegistryPath); tracePath = Path.Combine(installPath, "Trace"); } return(tracePath); }
/// <summary> /// Gets the local or network path for the web.config directory /// </summary> /// <returns></returns> private string GetWebConfigDirectoryPath() { return(RegistryHelper.EvaluateString("WebSitePath", @"Software\Microsoft\MSCRM")); }