Class MachineConfigEditor
Manages .NET Framework machine.config files.
Inheritance
System.Object
MachineConfigEditor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Boolean | True if an extension has been removed; otherwise false. |