Reputation: 13
Windows store apps (windows 8.1) provides c# sample code (namespaces) like for usb device communication. Can i use same c# sample code for windows desktop app or is there any way to use those in windows desktop app.
Upvotes: 0
Views: 161
Reputation: 1775
Yes, it is possible!
If it is a good idea or not is another question. Scott Hanselman, well known Microsoft employee, has a nice blog about this problem. You can find it here:
http://www.hanselman.com/blog/HowToCallWinRTAPIsInWindows8FromCDesktopApplicationsWinRTDiagram.aspx
Upvotes: 1