Solved Loading dll from Base64

Status
Not open for further replies.

Toshiro

Member
How do I use base64 strings to load a dll to load a mod menu. Someone told me to look into it and I don't understand it. So far I know I have to use reflection but I'm not sure the dll loads the mod menu
 

Ruit

Adminstrator
Adminstrator
File.ReadAllBytes then Convert.ToBase64String

For loading, call Convert.FromBase64String to convert back base64 string to bytes then use Assembly.Load to your dll from it's bytes.
After loading success, you'll have to play with reflection to find and invoke the function that displays your menu.




For native dll loading
 

Toshiro

Member
File.ReadAllBytes then Convert.ToBase64String

For loading, call Convert.FromBase64String to convert back base64 string to bytes then use Assembly.Load to your dll from it's bytes.
After loading success, you'll have to play with reflection to find and invoke the function that displays your menu.




For native dll loading
Thanks
 
Status
Not open for further replies.
Top