예제 #1
0
 /// <summary>
 /// Initializes a new instance of class CrmTrace
 /// </summary>
 public CrmTrace()
 {
     // Retrieve current registry keys for trace
     TraceEnabled   = RegistryHelper.EvaluateOption("TraceEnabled", CrmRegistryPath);
     TraceCallStack = RegistryHelper.EvaluateOption("TraceCallStack", CrmRegistryPath);
 }
예제 #2
0
 /// <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"));
 }