Skip to content

Instantly share code, notes, and snippets.

View sfalkorr's full-sized avatar

Drakian sfalkorr

View GitHub Profile
@DrustZ
DrustZ / Simulation.cs
Created May 15, 2019 23:44
Simulate keyboard and mouse input in WPF (similar to sendkeys in winform)
using System;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Permissions;
using System.Windows.Input;
namespace Demo