C# Класс SEToolbox.Support.ToolboxUpdater

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DoFilesDiffer ( string file1, string file2 ) : bool
DoFilesDiffer ( string directory1, string directory2, string filename ) : bool
GetApplicationContentPath ( ) : string
GetApplicationFilePath ( ) : string
GetBinCachePath ( ) : string
GetGameRegistryFilePath ( ) : string

Looks for the Space Engineers install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers"

GetSteamFilePath ( ) : string

Looks for the Steam install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam"

IsBaseAssembliesChanged ( ) : bool
UpdateBaseFiles ( ) : bool
ValidateSpaceEngineersInstall ( string filePath ) : bool

Checks for key directory names from the game bin folder.

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

Метод Описание
IsRuningElevated ( ) : bool
RunElevated ( string fileName, string arguments, bool elevate, bool waitForExit ) : int?

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

DoFilesDiffer() публичный статический Метод

public static DoFilesDiffer ( string file1, string file2 ) : bool
file1 string
file2 string
Результат bool

DoFilesDiffer() публичный статический Метод

public static DoFilesDiffer ( string directory1, string directory2, string filename ) : bool
directory1 string
directory2 string
filename string
Результат bool

GetApplicationContentPath() публичный статический Метод

public static GetApplicationContentPath ( ) : string
Результат string

GetApplicationFilePath() публичный статический Метод

public static GetApplicationFilePath ( ) : string
Результат string

GetBinCachePath() публичный статический Метод

public static GetBinCachePath ( ) : string
Результат string

GetGameRegistryFilePath() публичный статический Метод

Looks for the Space Engineers install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers"
public static GetGameRegistryFilePath ( ) : string
Результат string

GetSteamFilePath() публичный статический Метод

Looks for the Steam install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam"
public static GetSteamFilePath ( ) : string
Результат string

IsBaseAssembliesChanged() публичный статический Метод

public static IsBaseAssembliesChanged ( ) : bool
Результат bool

UpdateBaseFiles() публичный статический Метод

public static UpdateBaseFiles ( ) : bool
Результат bool

ValidateSpaceEngineersInstall() публичный статический Метод

Checks for key directory names from the game bin folder.
public static ValidateSpaceEngineersInstall ( string filePath ) : bool
filePath string
Результат bool