Méthode | Description | |
---|---|---|
CreateDirectory ( string path ) : void |
Creates the specified directory if it does not already exist.
|
|
GetDependentAndRedundantPackages ( List |
Gets all dependent and redundant items for the specified list of packages. Dependent items are packages that depend on any of the packages to be removed.Redundant items are libraries or shared libraries that are no longer used by any other package. |
|
GetInstalledPackageDirectory ( string package ) : string |
Gets the directory of the specified package if installed. If multiple instances of the package exists, this function returns the first one it encounters. |
|
GetInstalledPackageVersion ( string package ) : string |
Gets the currently installed version of the specified package.
|
|
GetMetadata ( KeyValuePair pairs, string key, string preferredLanguage, string defaultValue ) : string |
Gets the value associated to the specified key.
|
|
IsInstalledPackageProtected ( string package ) : bool |
Checks whether the specified package is installed and protected from modification or deletion.
|
|
RemoveDirectory ( string path ) : void |
Removes the specified directory if it exists.
|
|
RemovePackage ( string package ) : bool |
Removes the specified package, but not dependent packages.
|