(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

How to call WinRT APIs in Windows 8 from C# Desktop Applications - WinRT Diagram

(0 votes)
0 comments   /   posted by Silverlight Show on Oct 12, 2012
Tags:   windows-8 , winrt , scott-hanselman

Read original post at Scott Hanselman's Blog

I was trying to access some of the sensors that are built into this Intel Ultrabook that runs Windows 8. However, while there's support for Location Sensors built into the .NET 4 libraries on Windows 7 and up, I want to access the complete Sensor and Location Platform that is built into Windows 8 itself. Those APIs are available via COM and I could call them via COM, but calling them via the WinRT layer is so much nicer. Plus, this is kind of why WinRT exists.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter