C# Class SEToolbox.Support.ToolboxUpdater

Mostra file Open project: midspace/SEToolbox Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
IsRuningElevated ( ) : bool
RunElevated ( string fileName, string arguments, bool elevate, bool waitForExit ) : int?

Method Details

DoFilesDiffer() public static method

public static DoFilesDiffer ( string file1, string file2 ) : bool
file1 string
file2 string
return bool

DoFilesDiffer() public static method

public static DoFilesDiffer ( string directory1, string directory2, string filename ) : bool
directory1 string
directory2 string
filename string
return bool

GetApplicationContentPath() public static method

public static GetApplicationContentPath ( ) : string
return string

GetApplicationFilePath() public static method

public static GetApplicationFilePath ( ) : string
return string

GetBinCachePath() public static method

public static GetBinCachePath ( ) : string
return string

GetGameRegistryFilePath() public static method

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
return string

GetSteamFilePath() public static method

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

IsBaseAssembliesChanged() public static method

public static IsBaseAssembliesChanged ( ) : bool
return bool

UpdateBaseFiles() public static method

public static UpdateBaseFiles ( ) : bool
return bool

ValidateSpaceEngineersInstall() public static method

Checks for key directory names from the game bin folder.
public static ValidateSpaceEngineersInstall ( string filePath ) : bool
filePath string
return bool