C# Class Microsoft.VS.ConfigurationManager.Support.Utility

Functions and values to allow central logging and execution of processes
Inheritance: IDisposable
Mostra file Open project: Microsoft/VisualStudioUninstaller

Public Methods

Method Description
Dispose ( ) : void

Dispose of resources utilitized by Utility item

ReadRegKey ( string path, string findkey ) : string

Registry key reading function with call to native functions

ServiceAction ( string ServiceName, ServiceState status ) : bool

Stopping and starting services required to uninstall MSUs.

Utility ( ) : System

Set properties as part of instantiation.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up objects explicitly

Private Methods

Method Description
ExecuteProcess ( string file, string args ) : int
Initialize ( ) : void
TrailingSlash ( string dir ) : string

Method Details

Dispose() public method

Dispose of resources utilitized by Utility item
public Dispose ( ) : void
return void

Dispose() protected method

Clean up objects explicitly
protected Dispose ( bool disposing ) : void
disposing bool
return void

ReadRegKey() public static method

Registry key reading function with call to native functions
public static ReadRegKey ( string path, string findkey ) : string
path string
findkey string
return string

ServiceAction() public static method

Stopping and starting services required to uninstall MSUs.
public static ServiceAction ( string ServiceName, ServiceState status ) : bool
ServiceName string
status ServiceState
return bool

Utility() public method

Set properties as part of instantiation.
public Utility ( ) : System
return System