저는 앱용 소프트웨어 패치를 만드는 데 사용하는 C# WinForms 앱이 있습니다.C# 코드에서 Babel .Net Obfuscator 호출
을 :에서 바벨 닷넷
이 방법은, 거기에 내 C# 코드에서, 내가 좋아하는 바벨 닷넷
뭔가를 호출 할 수 있습니다 Babel.Build.dll 및 Babel.Code.dll를 포함하는 것으로 나타났습니다
ExecuteCommand(C:\Program Files\Babel\babel.exe "C:\Patch\v6\Demo\Bin\Lib.dll" --rules "C:\Patch\babelRules.xml", 600)
다음은 C#에서 CMD 프롬프트를 실행하는 일반적인 스크립트입니다. 그러나 Babel.Build.dll을 winform에 포함 시키면 원활하게 처리 할 수 있습니다.
public static int ExecuteCommand(string Command, int Timeout)
{
int ExitCode;
ProcessStartInfo ProcessInfo;
Process Process;
ProcessInfo = new ProcessStartInfo("cmd.exe", "/C " + Command);
ProcessInfo.CreateNoWindow = true;
ProcessInfo.UseShellExecute = false;
Process = Process.Start(ProcessInfo);
Process.WaitForExit(Timeout);
ExitCode = Process.ExitCode;
Process.Close();
return ExitCode;
}
Babel.Build.dll을 분해해야합니다. 오 기다려 ... –
바벨 개발자에게이 질문을하는 것이 좋습니다. – logicnp