C# Class DynamoInstallDetective.InstalledProductLookUp

Implements basic look up algorithm to get product installations using registry keys
Inheritance: IProductLookUp
Afficher le fichier Open project: DynamoDS/Dynamo Class Usage Examples

Méthodes publiques

Méthode Description
ExistsAtPath ( string basePath ) : bool
GetCoreFilePathFromInstallation ( string installPath ) : string
GetInstallLocationFromProductCode ( string productCode, string &productName ) : string
GetInstallLocationFromProductName ( string name ) : string
GetProductFromInstallPath ( string path ) : IInstalledProduct
GetProductFromProductCode ( string productCode ) : IInstalledProduct
GetProductFromProductName ( string name ) : IInstalledProduct
GetProductNameList ( ) : IEnumerable
GetVersionInfoFromFile ( string filePath ) : Tuple
InstalledProductLookUp ( string lookUpName, string>.Func fileLocator ) : System
InstalledProductLookUp ( string lookUpName, string fileLookup ) : System

Implements a product look up algorithm based on registry key.

Private Methods

Méthode Description
GetDisplayName ( RegistryKey key ) : string
GetInstallLocation ( RegistryKey key ) : string
GetProductFromInstallPath ( string path, string productName ) : InstalledProduct
OpenKey ( string key ) : RegistryKey

Method Details

ExistsAtPath() public méthode

public ExistsAtPath ( string basePath ) : bool
basePath string
Résultat bool

GetCoreFilePathFromInstallation() public méthode

public GetCoreFilePathFromInstallation ( string installPath ) : string
installPath string
Résultat string

GetInstallLocationFromProductCode() public méthode

public GetInstallLocationFromProductCode ( string productCode, string &productName ) : string
productCode string
productName string
Résultat string

GetInstallLocationFromProductName() public méthode

public GetInstallLocationFromProductName ( string name ) : string
name string
Résultat string

GetProductFromInstallPath() public méthode

public GetProductFromInstallPath ( string path ) : IInstalledProduct
path string
Résultat IInstalledProduct

GetProductFromProductCode() public méthode

public GetProductFromProductCode ( string productCode ) : IInstalledProduct
productCode string
Résultat IInstalledProduct

GetProductFromProductName() public méthode

public GetProductFromProductName ( string name ) : IInstalledProduct
name string
Résultat IInstalledProduct

GetProductNameList() public méthode

public GetProductNameList ( ) : IEnumerable
Résultat IEnumerable

GetVersionInfoFromFile() public méthode

public GetVersionInfoFromFile ( string filePath ) : Tuple
filePath string
Résultat Tuple

InstalledProductLookUp() public méthode

public InstalledProductLookUp ( string lookUpName, string>.Func fileLocator ) : System
lookUpName string
fileLocator string>.Func
Résultat System

InstalledProductLookUp() public méthode

Implements a product look up algorithm based on registry key.
public InstalledProductLookUp ( string lookUpName, string fileLookup ) : System
lookUpName string Product name to lookup
fileLookup string file name pattern to lookup
Résultat System