Class MachineConfigEditor
Manages .NET Framework machine.config files.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Configuration
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public static class MachineConfigEditor
  Fields
ServiceBusAssembly
Fully qualified name of the Microsoft.ServiceBus assembly.
Declaration
public const string ServiceBusAssembly = "Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  Field Value
| Type | Description | 
|---|---|
| String | 
Methods
AddMicrosoftServiceBusExtensions()
Adds Microsoft Service Bus extensions to all available machine.config files on the local machine.
Declaration
public static bool AddMicrosoftServiceBusExtensions()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if an extension has been added; otherwise false.  | 
      
AddSentinetExtensions()
Adds Sentinet extensions to all available machine.config files on the local machine.
Declaration
public static bool AddSentinetExtensions()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if an extension has been added; otherwise false.  | 
      
RemoveMicrosoftServiceBusExtensions()
Removes Microsoft Service Bus extensions to all available machine.config files on the local machine.
Declaration
public static bool RemoveMicrosoftServiceBusExtensions()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if an extension has been removed; otherwise false.  | 
      
RemoveSentinetExtensions()
Removes Sentinet extensions from all available machine.config files on the local machine.
Declaration
public static bool RemoveSentinetExtensions()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if an extension has been removed; otherwise false.  |