C# Класс DynamoInstallDetective.InstalledProductLookUp

Implements basic look up algorithm to get product installations using registry keys
Наследование: IProductLookUp
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetDisplayName ( RegistryKey key ) : string
GetInstallLocation ( RegistryKey key ) : string
GetProductFromInstallPath ( string path, string productName ) : InstalledProduct
OpenKey ( string key ) : RegistryKey

Описание методов

ExistsAtPath() публичный Метод

public ExistsAtPath ( string basePath ) : bool
basePath string
Результат bool

GetCoreFilePathFromInstallation() публичный Метод

public GetCoreFilePathFromInstallation ( string installPath ) : string
installPath string
Результат string

GetInstallLocationFromProductCode() публичный Метод

public GetInstallLocationFromProductCode ( string productCode, string &productName ) : string
productCode string
productName string
Результат string

GetInstallLocationFromProductName() публичный Метод

public GetInstallLocationFromProductName ( string name ) : string
name string
Результат string

GetProductFromInstallPath() публичный Метод

public GetProductFromInstallPath ( string path ) : IInstalledProduct
path string
Результат IInstalledProduct

GetProductFromProductCode() публичный Метод

public GetProductFromProductCode ( string productCode ) : IInstalledProduct
productCode string
Результат IInstalledProduct

GetProductFromProductName() публичный Метод

public GetProductFromProductName ( string name ) : IInstalledProduct
name string
Результат IInstalledProduct

GetProductNameList() публичный Метод

public GetProductNameList ( ) : IEnumerable
Результат IEnumerable

GetVersionInfoFromFile() публичный Метод

public GetVersionInfoFromFile ( string filePath ) : Tuple
filePath string
Результат Tuple

InstalledProductLookUp() публичный Метод

public InstalledProductLookUp ( string lookUpName, string>.Func fileLocator ) : System
lookUpName string
fileLocator string>.Func
Результат System

InstalledProductLookUp() публичный Метод

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
Результат System