Import

Import the seliware API into your project.

using SeliwareAPI;

Initialization

Required to initialize the API before using any of the methods or properties.

Seliware.Initialize();

You must initialize the API before using any of the methods or properties. It is recommended to call this function in the Main function found in the Program.cs file.

Injection

Inject into the roblox process. This returns a string with the status of the injection. If the injection is successful, the return value will be Success.

Seliware.Inject();
pid
int

The process id of the roblox process you want to inject into. If not provided, it will inject into the first roblox process found.

Detect if injected

To detect if the API is injected, you can use the IsInjected property.

bool isInjected = Seliware.IsInjected();
if (isInjected)
{
    MessageBox.Show("Injected!");
}

On Injection

Once the injection is successful, the Injected event will be fired.

Seliware.Injected += delegate
{
    MessageBox.Show("Successfully injected!");
};

Execution

Execute a script in the roblox process.

Seliware.Execute("print('Hello from the Seliware API!')");
script
string
required

The script you want to execute in the roblox process.

Misc Methods

Get Injected Processes

Get the count of all the roblox processes that the API is injected into.

int clientsCount = Seliware.GetClientsCount();

Get Seliware Version

Get the version of the seliware API.

string version = Seliware.GetVersion();