C# Class NCoverExplorer.Common.PathSearch

Utility class to scan for an executable in all available paths. Based on CodeProject article at: http://www.codeproject.com/csharp/winwhich.asp
Datei anzeigen Open project: marektihkan/Arc

Public Methods

Method Description
Search ( string executableName ) : string[]

Searches for the specified executable name in all available paths.

Private Methods

Method Description
PathSearch ( ) : System

Initializes a new instance of the PathSearch class.

_GetPathsSplit ( string pathString ) : string[]
_GetRegExString ( string executableName ) : string

Form the regular expression string for the matching file.

Method Details

Search() public static method

Searches for the specified executable name in all available paths.
public static Search ( string executableName ) : string[]
executableName string Name of the executable.
return string[]