public MainWindow() { InitializeComponent(); this.textBlock.Text = $"pid:{NativeFunctions.GetCurrentProcessId()}"; }