title: How to get selected file in Windows Explorer window in C#?
body: <p>I want to get the selected file or folder in the active explorer window and then pass it's path to my program,how do I do it?
  for example I click on x.exe on windows explorer and then press CTRL+SHIFT+X hotkey and do something.I need my program to get this path.
  I found a C++ solution but I can't figure out a C# solution for this.also I'm building a wpf application.</p>