Skip to content
This repository was archived by the owner on Sep 7, 2024. It is now read-only.

Glatrix/ClrHosting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Want a mod loader like this? Try CeLeRy, A Lightweight .NET CLR mod loader currently supporting .NET 8.0 --> https://github.com/Glatrix/CeLeRy

https://discord.gg/X9gdzuJBAZ

ClrHosting

Clr Injection for x64 and x86

Clr loader

(Only injects .NET Framework dlls)
static const LPCWSTR Assembly = L"\\CSharp.dll"; //dllname.dll (eg \\FolderName\\CSharp.dll
static const LPCWSTR Class = L"ISpace.IClass"; //namespace.class
static const LPCWSTR Method = L"IMain"; //method name
static const LPCWSTR Param = L"It works!!"; //string paramater (if applicable)

Put the C# dll, and the Clr hosting dll into the same folder.

C# Exmaple

namespace ISpace
{
    public class IClass
    {
        public static int IMain(string args)
        {
            AllocConsole(); //Open a console window from the same process.
            Console.WriteLine("<_C# Loaded_>"); //Proof its working.
            return 0;
        }

        [DllImport("kernel32")]
        static extern bool AllocConsole();
    }
}

About

Clr Injection for x64 and x86. Inject C# into Managed or Unmanaged Processes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy