Skip to Main Content

BTD_Mod_Helper​.Api​.Helpers​.ProcessHelper


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Helpers

ProcessHelper Class

Helper methods for processes

public static class ProcessHelper

Inheritance System.Object  ProcessHelper

Methods

ProcessHelper.OpenFile(string) Method

Opens a file in the default app for it

public static void OpenFile(string filePath);

Parameters

filePath System.String

File path

ProcessHelper.OpenFolder(string) Method

Opens a folder in the file explorer

public static void OpenFolder(string folderPath);

Parameters

folderPath System.String

Folder to open

ProcessHelper.OpenURL(string) Method

Opens a url in the default browser

public static void OpenURL(string url);

Parameters

url System.String

URL to open

ProcessHelper.RestartGame() Method

Exits the game and starts a new process after waiting 10 seconds, to ensure no "Another instance is already running"
errors

public static void RestartGame();
To learn how to download BTD Mod Helper and install mods, click here