ProjectsForTest/WpfCore6App1/WpfCoreApp1/MainWindow.xaml.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using dnlib.DotNet;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Zack.Commons;
namespace WpfCoreApp1
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
/*
MessageBox.Show(Assembly.GetExecutingAssembly().Location);
MessageBox.Show(typeof(MainWindow).Assembly.Location);
MessageBox.Show(Process.GetCurrentProcess().ProcessName);*/
MessageBox.Show(Process.GetCurrentProcess().MainModule.FileName);
using (var mod = ModuleDefMD.Load(Assembly.GetExecutingAssembly().Modules.Single()))
{
mod.Write("e:/temp/1.dll");
}
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
MessageBox.Show(HashHelper.ComputeMd5Hash("xxxx"));
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。