Hi, you guys. I'm making a obfuscator, and I need to know how to get all variables, classes, functions, etc, from a .NET program. I know how to get assembly info, which is quite easy.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Diagnostics;
string asm()
{
FileVersionInfo inf = FileVersionInfo.GetVersionInfo(Application.ExecutablePath);
string sht = "";
foreach (PropertyInfo p in inf.GetType().GetProperties())
sht += p.Name + " " + p.GetValue(inf, null) + Environment.NewLine;
return sht;
}
Thanks you guys, I can't get anything from it, but assembly information.